2019-11-06 14:09:38 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-11-15 16:32:25 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2019-11-11 17:16:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:entries="@array/settings_theme"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:key="pref_theme_picker"
|
2019-11-11 17:16:34 +01:00
|
|
|
android:summary="@string/pref_theme_summary"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:title="@string/pref_theme_title"
|
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-11 17:16:34 +01:00
|
|
|
|
2019-11-12 19:36:18 +01:00
|
|
|
|
|
|
|
<androidx.preference.SwitchPreferenceCompat
|
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="use_custom_theme"
|
|
|
|
android:summary="@string/pref_custom_theme_summary"
|
|
|
|
android:title="@string/pref_custom_theme"
|
2019-11-15 16:32:25 +01:00
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-12 19:36:18 +01:00
|
|
|
|
2019-11-06 14:09:38 +01:00
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
2019-11-06 17:51:28 +01:00
|
|
|
android:defaultValue="-1"
|
2019-11-06 14:09:38 +01:00
|
|
|
android:key="theme_link_color"
|
|
|
|
android:summary="@string/link_color"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:title="@string/link_color_title"
|
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-06 14:09:38 +01:00
|
|
|
|
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
2019-11-06 17:51:28 +01:00
|
|
|
android:defaultValue="-1"
|
2019-11-06 14:09:38 +01:00
|
|
|
android:key="theme_boost_header_color"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:summary="@string/boost_header_color"
|
2019-11-06 14:09:38 +01:00
|
|
|
android:title="@string/boost_header_color_title"
|
2019-11-15 16:32:25 +01:00
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-06 14:09:38 +01:00
|
|
|
|
2019-11-06 15:52:39 +01:00
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
2019-11-15 19:06:43 +01:00
|
|
|
android:defaultValue="-1"
|
|
|
|
android:key="theme_text_header_1_line"
|
|
|
|
android:summary="@string/displayname_title"
|
|
|
|
android:title="@string/display_name"
|
|
|
|
app:iconSpaceReserved="false" />
|
|
|
|
|
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
|
|
|
android:defaultValue="-1"
|
|
|
|
android:key="theme_text_header_2_line"
|
|
|
|
android:summary="@string/username_title"
|
|
|
|
android:title="@string/username"
|
|
|
|
app:iconSpaceReserved="false" />
|
|
|
|
|
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
2019-11-06 17:51:28 +01:00
|
|
|
android:defaultValue="-1"
|
2019-11-06 15:52:39 +01:00
|
|
|
android:key="theme_statuses_color"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:summary="@string/background_status"
|
2019-11-06 15:52:39 +01:00
|
|
|
android:title="@string/background_status_title"
|
2019-11-15 16:32:25 +01:00
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-06 15:52:39 +01:00
|
|
|
|
|
|
|
|
2019-11-06 17:24:38 +01:00
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
2019-11-06 17:51:28 +01:00
|
|
|
android:defaultValue="-1"
|
2019-11-06 17:24:38 +01:00
|
|
|
android:key="theme_icons_color"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:summary="@string/icons_color"
|
2019-11-06 17:24:38 +01:00
|
|
|
android:title="@string/icons_color_title"
|
2019-11-15 16:32:25 +01:00
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-06 17:24:38 +01:00
|
|
|
|
2019-11-06 18:03:45 +01:00
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
|
|
|
android:defaultValue="-1"
|
2019-11-11 10:46:55 +01:00
|
|
|
android:key="theme_text_color"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:summary="@string/text_color"
|
2019-11-11 10:46:55 +01:00
|
|
|
android:title="@string/text_color_title"
|
2019-11-15 16:32:25 +01:00
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-10 19:20:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
|
|
|
android:defaultValue="-1"
|
|
|
|
android:key="theme_primary"
|
|
|
|
android:summary="@string/pref_primary_color_summary"
|
|
|
|
android:title="@string/pref_primary_color_title"
|
2019-11-15 16:32:25 +01:00
|
|
|
app:cpv_dialogTitle="@string/pref_primary_color_title"
|
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-10 19:20:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
|
|
|
android:defaultValue="-1"
|
|
|
|
android:key="theme_accent"
|
|
|
|
android:summary="@string/pref_accent_color_summary"
|
|
|
|
android:title="@string/pref_accent_color_title"
|
2019-11-15 16:32:25 +01:00
|
|
|
app:cpv_dialogTitle="@string/pref_accent_color_title"
|
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-10 19:20:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
<androidx.preference.SwitchPreferenceCompat
|
|
|
|
android:defaultValue="@bool/should_tint_nav_bar"
|
|
|
|
android:key="pref_color_navigation_bar"
|
|
|
|
android:summary="@string/pref_colored_navigation_bar_summary"
|
|
|
|
android:title="@string/pref_colored_navigation_bar_title"
|
2019-11-15 16:32:25 +01:00
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-10 19:20:44 +01:00
|
|
|
|
2019-11-13 09:05:20 +01:00
|
|
|
<androidx.preference.SwitchPreferenceCompat
|
|
|
|
android:defaultValue="@bool/should_tint_status_bar"
|
|
|
|
android:key="pref_color_status_bar"
|
|
|
|
android:summary="@string/pref_colored_status_bar_summary"
|
|
|
|
android:title="@string/pref_colored_status_bar_title"
|
2019-11-15 16:32:25 +01:00
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-13 09:05:20 +01:00
|
|
|
|
2019-11-10 19:20:44 +01:00
|
|
|
<com.jaredrummler.android.colorpicker.ColorPreferenceCompat
|
2019-11-11 10:46:55 +01:00
|
|
|
android:defaultValue="-1"
|
2019-11-10 19:20:44 +01:00
|
|
|
android:key="pref_color_background"
|
|
|
|
android:summary="@string/pref_background_color_summary"
|
|
|
|
android:title="@string/pref_background_color_title"
|
2019-11-15 16:32:25 +01:00
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-10 19:20:44 +01:00
|
|
|
|
2019-11-15 16:32:25 +01:00
|
|
|
<Preference
|
2019-11-06 15:52:39 +01:00
|
|
|
android:key="reset_pref"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:summary="@string/clik_reset"
|
|
|
|
android:title="@string/reset_color"
|
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-13 10:47:00 +01:00
|
|
|
|
|
|
|
|
2019-11-15 16:32:25 +01:00
|
|
|
<Preference
|
2019-11-13 10:47:00 +01:00
|
|
|
android:key="pref_import"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:summary="@string/import_theme_title"
|
|
|
|
android:title="@string/import_theme"
|
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-13 10:47:00 +01:00
|
|
|
|
2019-11-15 16:32:25 +01:00
|
|
|
<Preference
|
2019-11-13 10:47:00 +01:00
|
|
|
android:key="pref_export"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:summary="@string/export_theme_title"
|
|
|
|
android:title="@string/export_theme"
|
|
|
|
app:iconSpaceReserved="false" />
|
2019-11-06 14:09:38 +01:00
|
|
|
</PreferenceScreen>
|