Merge pull request #234 from jtdor/issue233-replace-switchpreference-with-checkboxpreference

Replace SwitchPreference with CheckBoxPreference to avoid weird toggling behaviour of multiple SwitchPreferences on the same activity (issue #233)
This commit is contained in:
Synced Synapse 2016-04-27 19:05:22 +01:00
commit 48689f645d
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"/>