开发者

How to set focusable a LinearLayout in touch mode?

开发者 https://www.devze.com 2023-03-21 00:52 出处:网络
How to set a LinearLayout focusable in touch mode? I tried this: android:focusable=\"false\" android:clickable=\"true\"

How to set a LinearLayout focusable in touch mode?

I tried this:

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

also this:

android:focusable="false"
android:clickable="false"
android:focusableInTouchMode="fals开发者_运维百科e"

But these dont work.What to do?

Thanks in advance.

Regards

Goutom


android:focusable="true" android:focusableInTouchMode="true" and remain the linear layout to be clickable true by default,,, as per mentioned senario both the things are contradictory,..

0

精彩评论

暂无评论...
验证码 换一张
取 消