Replace SwitchPreference with CheckBoxPreference to avoid weird toggling

behaviour of multiple SwitchPreferences on the same activity (issue #233)
This commit is contained in:
Jörn-Thorben Hinz 2016-04-24 18:45:49 +02:00
parent 0b73228266
commit a42404b683
1 changed files with 5 additions and 5 deletions

View File

@ -24,27 +24,27 @@
android:entryValues="@array/themes_values_array"
android:defaultValue="0"/>
<SwitchPreference
<CheckBoxPreference
android:key="pref_switch_to_remote_after_media_start"
android:title="@string/switch_to_remote"
android:defaultValue="true"/>
<SwitchPreference
<CheckBoxPreference
android:key="pref_keep_remote_above_lockscreen"
android:title="@string/keep_remote_above_lockscreen"
android:defaultValue="false"/>
<SwitchPreference
<CheckBoxPreference
android:key="pref_show_notification"
android:title="@string/show_notification"
android:defaultValue="false"/>
<SwitchPreference
<CheckBoxPreference
android:key="pref_use_hardware_volume_keys"
android:title="@string/use_hardware_volume_keys"
android:defaultValue="true"/>
<SwitchPreference
<CheckBoxPreference
android:key="pref_vibrate_remote_buttons"
android:title="@string/vibrate_on_remote"
android:defaultValue="false"/>