Skip to content

Instantly share code, notes, and snippets.

@vegeta2102
Created May 23, 2020 08:08
Show Gist options
  • Save vegeta2102/0c9a49b43a0cdc89adb38a7d6ac12835 to your computer and use it in GitHub Desktop.
Save vegeta2102/0c9a49b43a0cdc89adb38a7d6ac12835 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<ListPreference
android:defaultValue="@string/pf_dark_auto"
android:dialogTitle="@string/pf_dark_dialog"
android:entries="@array/light_theme"
android:entryValues="@array/light_theme_value"
app:key="@string/pf_key_light"
app:summary="@string/pf_content_message"
app:title="@string/pf_light_title" />
</androidx.preference.PreferenceScreen>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment