disable swap "visible" checkboxes by default, they get dynamically set
If users click these fast, then its easy to get caught in a loop fighting the dynamic setting of them.
This commit is contained in:
parent
57e4315e18
commit
3fca7c7153
@ -58,7 +58,7 @@
|
|||||||
<android.support.v7.widget.SwitchCompat
|
<android.support.v7.widget.SwitchCompat
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
tools:checked="true"
|
android:enabled="false"
|
||||||
android:id="@+id/switch_bluetooth" />
|
android:id="@+id/switch_bluetooth" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@ -114,7 +114,7 @@
|
|||||||
<android.support.v7.widget.SwitchCompat
|
<android.support.v7.widget.SwitchCompat
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
tools:checked="false"
|
android:enabled="false"
|
||||||
android:id="@+id/switch_wifi" />
|
android:id="@+id/switch_wifi" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user