diff options
author | Javier <dev.git@javispedro.com> | 2020-02-12 00:08:06 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2020-02-12 20:48:39 +0100 |
commit | ac329e140435c3488ea5dfef89d237e2325da9e4 (patch) | |
tree | 47f03d0ae7ef63f9649aed834c0110b47e9936b5 /app/src/main/res/values | |
download | wallmotion-ac329e140435c3488ea5dfef89d237e2325da9e4.tar.gz wallmotion-ac329e140435c3488ea5dfef89d237e2325da9e4.zip |
initial import
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/arrays.xml | 11 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/values/dimens.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values/ic_launcher_background.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 26 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 20 |
6 files changed, 70 insertions, 0 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml new file mode 100644 index 0000000..073ac70 --- /dev/null +++ b/app/src/main/res/values/arrays.xml @@ -0,0 +1,11 @@ +<resources> + <!-- Settings display zoom values --> + <string-array name="settings_display_scale_entries"> + <item>Stretch to fit</item> + <item>Scale and crop to fit</item> + </string-array> + <string-array name="settings_display_scale_values"> + <item>@string/settings_display_scale_to_fit_key</item> + <item>@string/settings_display_scale_to_fit_with_cropping_key</item> + </string-array> +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..69b2233 --- /dev/null +++ b/app/src/main/res/values/colors.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <color name="colorPrimary">#008577</color> + <color name="colorPrimaryDark">#00574B</color> + <color name="colorAccent">#D81B60</color> +</resources> diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml new file mode 100644 index 0000000..59a0b0c --- /dev/null +++ b/app/src/main/res/values/dimens.xml @@ -0,0 +1,3 @@ +<resources> + <dimen name="fab_margin">16dp</dimen> +</resources> diff --git a/app/src/main/res/values/ic_launcher_background.xml b/app/src/main/res/values/ic_launcher_background.xml new file mode 100644 index 0000000..2a54660 --- /dev/null +++ b/app/src/main/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <color name="ic_launcher_background">#A4A633</color> +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..a8111a0 --- /dev/null +++ b/app/src/main/res/values/strings.xml @@ -0,0 +1,26 @@ +<resources> + <string name="app_name">Wallmotion</string> + + <string name="wallpaper_description">Use a video file as wallpaper</string> + + <!-- Main activity --> + <string name="action_settings">Settings</string> + + <!-- Preferences --> + <string name="title_activity_settings">Wallmotion settings</string> + <string name="settings_source_header">Source video</string> + <string name="settings_video_file_key">video_file</string> + <string name="settings_video_file_title">Video file</string> + <string name="settings_video_file_clear_key">video_file_clear</string> + <string name="settings_video_file_clear_title">Reset to (none)</string> + <string name="settings_not_set">(None)</string> + <string name="settings_display_header">Display options</string> + <string name="settings_display_scale_key">scale</string> + <string name="settings_display_scale_title">Scaling</string> + <string name="settings_display_scale_to_fit_key">scale_to_fit</string> + <string name="settings_display_scale_to_fit_with_cropping_key">scale_to_fit_with_cropping</string> + <string name="settings_display_restart_key">restart</string> + <string name="settings_display_restart_title">Restart video on each display</string> + <string name="settings_display_restart_title_on">Video will be restarted every time wallpaper is shown</string> + <string name="settings_display_restart_title_off">Video time will be remembered every time wallpaper is shown</string> +</resources> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..545b9c6 --- /dev/null +++ b/app/src/main/res/values/styles.xml @@ -0,0 +1,20 @@ +<resources> + + <!-- Base application theme. --> + <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> + <!-- Customize your theme here. --> + <item name="colorPrimary">@color/colorPrimary</item> + <item name="colorPrimaryDark">@color/colorPrimaryDark</item> + <item name="colorAccent">@color/colorAccent</item> + </style> + + <style name="AppTheme.NoActionBar"> + <item name="windowActionBar">false</item> + <item name="windowNoTitle">true</item> + </style> + + <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /> + + <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" /> + +</resources> |