Preferences ported to support library

This commit is contained in:
len
2016-03-07 23:48:43 +01:00
parent bcbd541d48
commit 70e557575f
26 changed files with 488 additions and 440 deletions
+9 -8
View File
@@ -1,27 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<android.support.v7.preference.PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
<SwitchPreference android:title="@string/pref_hide_status_bar"
<SwitchPreferenceCompat android:title="@string/pref_hide_status_bar"
android:key="@string/pref_hide_status_bar_key"
android:defaultValue="true" />
<SwitchPreference android:title="@string/pref_enable_transitions"
<SwitchPreferenceCompat android:title="@string/pref_enable_transitions"
android:key="@string/pref_enable_transitions_key"
android:defaultValue="true" />
<SwitchPreference android:title="@string/pref_show_page_number"
<SwitchPreferenceCompat android:title="@string/pref_show_page_number"
android:key="@string/pref_show_page_number_key"
android:defaultValue="true" />
<SwitchPreference android:title="@string/pref_custom_brightness"
<SwitchPreferenceCompat android:title="@string/pref_custom_brightness"
android:key="@string/pref_custom_brightness_key"
android:defaultValue="false" />
<SwitchPreference android:title="@string/pref_keep_screen_on"
<SwitchPreferenceCompat android:title="@string/pref_keep_screen_on"
android:key="@string/pref_keep_screen_on_key"
android:defaultValue="true" />
<SwitchPreference android:title="@string/pref_seamless_mode"
<SwitchPreferenceCompat android:title="@string/pref_seamless_mode"
android:key="@string/pref_seamless_mode_key"
android:defaultValue="true" />
@@ -73,4 +74,4 @@
android:defaultValue="0"
android:summary="%s" />
</PreferenceScreen>
</android.support.v7.preference.PreferenceScreen>