2011-07-17 41 views
1

如何在觸摸模式下設置LinearLayout focusable如何在觸摸模式下設置可調焦的LinearLayout?

我嘗試這樣做:

android:focusable="false" 
android:clickable="true" 
android:focusableInTouchMode="true" 

也這樣:

android:focusable="false" 
android:clickable="false" 
android:focusableInTouchMode="false" 

但這些不work.What辦?
在此先感謝。

問候
Goutom

+0

你已經使用機器人:可聚焦= 「假」 –

回答

3

android:focusable="true" android:focusableInTouchMode="true"並保持線性佈局可以點擊默認值爲TRUE ,,,按提到塞納里奧兩個東西是矛盾的,..

相關問題