Disable focusability on switches

This commit is contained in:
Alexander Sytnyk 2017-09-20 10:54:29 +03:00
parent a03cc63616
commit 6147666878

View file

@ -140,7 +140,10 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical|end" android:layout_gravity="center_vertical|end"
android:clickable="false"/> android:background="@null"
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false"/>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
@ -167,7 +170,10 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical|end" android:layout_gravity="center_vertical|end"
android:clickable="false"/> android:background="@null"
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false"/>
</LinearLayout> </LinearLayout>
<View <View