Infinity-For-Lemmy/app/src/main/res/xml/theme_preferences.xml

49 lines
1.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<ListPreference
app:defaultValue="2"
app:entryValues="@array/settings_theme_values"
app:key="theme"
app:icon="@drawable/ic_outline_color_lens_24dp"
app:title="@string/settings_theme_title"
app:useSimpleSummaryProvider="true" />
<SwitchPreference
app:defaultValue="false"
app:key="amoled_dark"
app:title="@string/settings_amoled_dark_title" />
<PreferenceCategory
app:title="@string/settings_category_customization_title" />
<Preference
app:key="customize_light_theme"
app:icon="@drawable/ic_light_theme_preference_24dp"
2020-03-26 17:30:05 +01:00
app:title="@string/settings_customize_light_theme_title"
app:isPreferenceVisible="false" />
<Preference
app:key="customize_dark_theme"
app:icon="@drawable/ic_dark_theme_preference_24dp"
2020-03-26 17:30:05 +01:00
app:title="@string/settings_customize_dark_theme_title"
app:isPreferenceVisible="false" />
<Preference
app:key="customize_amoled_theme"
2020-03-26 17:30:05 +01:00
app:icon="@drawable/ic_amoled_theme_preference_24dp"
app:title="@string/settings_customize_amoled_theme_title"
app:isPreferenceVisible="false" />
2020-03-24 07:14:47 +01:00
<Preference
app:key="manage_themes"
2020-03-24 07:14:47 +01:00
app:icon="@drawable/ic_edit_24dp"
app:title="@string/settings_manage_themes_title" />
2020-03-24 07:14:47 +01:00
<Preference
2020-03-29 10:28:50 +02:00
android:icon="@drawable/ic_info_preference_24dp"
app:summary="@string/settings_custom_theme_cannot_apply_to_settings_page_summary"
2020-03-24 07:14:47 +01:00
app:enabled="false" />
</PreferenceScreen>