diff options
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/root_preferences.xml | 32 | ||||
-rw-r--r-- | app/src/main/res/xml/wallpaper.xml | 6 |
2 files changed, 38 insertions, 0 deletions
diff --git a/app/src/main/res/xml/root_preferences.xml b/app/src/main/res/xml/root_preferences.xml new file mode 100644 index 0000000..14b05d7 --- /dev/null +++ b/app/src/main/res/xml/root_preferences.xml @@ -0,0 +1,32 @@ +<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> + + <PreferenceCategory app:title="@string/settings_source_header"> + <Preference + app:key="@string/settings_video_file_key" + app:title="@string/settings_video_file_title" + app:persistent="true" /> + <Preference + app:key="@string/settings_video_file_clear_key" + app:title="@string/settings_video_file_clear_title" + /> + </PreferenceCategory> + + <PreferenceCategory app:title="@string/settings_display_header"> + <ListPreference + app:key="@string/settings_display_scale_key" + app:title="@string/settings_display_scale_title" + app:entries="@array/settings_display_scale_entries" + app:entryValues="@array/settings_display_scale_values" + app:defaultValue="@string/settings_display_scale_to_fit_key" + app:useSimpleSummaryProvider="true" + app:persistent="true" /> + <SwitchPreferenceCompat + app:key="@string/settings_display_restart_key" + app:title="@string/settings_display_restart_title" + app:summaryOn="@string/settings_display_restart_title_on" + app:summaryOff="@string/settings_display_restart_title_off" + app:persistent="true" + /> + </PreferenceCategory> + +</PreferenceScreen> diff --git a/app/src/main/res/xml/wallpaper.xml b/app/src/main/res/xml/wallpaper.xml new file mode 100644 index 0000000..d4af285 --- /dev/null +++ b/app/src/main/res/xml/wallpaper.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<wallpaper xmlns:android="http://schemas.android.com/apk/res/android" + android:description="@string/wallpaper_description" + android:settingsActivity="com.javispedro.wallmotion.SettingsActivity" + android:thumbnail="@drawable/ic_logo" + /> |