Twidere-App-Android-Twitter.../twidere/src/main/res/xml/preferences_theme.xml

44 lines
1.5 KiB
XML

<?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"
android:title="@string/theme">
<PreferenceCategory
android:key="cat_theme_preview"
android:order="11"
android:title="@string/preview">
<org.mariotaku.twidere.preference.ThemePreviewPreference
android:key="theme_preview"/>
</PreferenceCategory>
<org.mariotaku.twidere.preference.DarkLightThemeTogglePreference
android:order="21"
android:key="theme"
android:title="@string/dark_theme">
<extra
android:name="notify_change"
android:value="true"/>
</org.mariotaku.twidere.preference.DarkLightThemeTogglePreference>
<org.mariotaku.twidere.preference.ThemeBackgroundPreference
android:defaultValue="default"
android:order="22"
android:title="@string/background">
<extra
android:name="notify_change"
android:value="true"/>
</org.mariotaku.twidere.preference.ThemeBackgroundPreference>
<org.mariotaku.twidere.preference.ColorPickerPreference
android:key="theme_color"
android:order="25"
android:title="@string/color"
app:defaultColor="@color/branding_color">
<extra
android:name="notify_change"
android:value="true"/>
</org.mariotaku.twidere.preference.ColorPickerPreference>
</PreferenceScreen>