diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-09-11 20:27:07 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-09-11 20:27:07 +0200 |
commit | bc272651e28bf374056d3ca51ba03fb31514d6e3 (patch) | |
tree | f6c2b511ed3b7fcf3f8710150ccb5bd6cb6ebc37 /src/main/res/values | |
parent | 911b537f34eca7da671aa6da6409e03dcd514201 (diff) |
introduce automatic theme based on the systems theme
Diffstat (limited to 'src/main/res/values')
-rw-r--r-- | src/main/res/values/arrays.xml | 2 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 1 | ||||
-rw-r--r-- | src/main/res/values/themes.xml | 5 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/main/res/values/arrays.xml b/src/main/res/values/arrays.xml index 9d587fd86..b15e4cea2 100644 --- a/src/main/res/values/arrays.xml +++ b/src/main/res/values/arrays.xml @@ -3,10 +3,12 @@ <string-array name="themes"> <item>@string/pref_theme_light</item> <item>@string/pref_theme_dark</item> + <item>@string/pref_theme_auto</item> </string-array> <string-array name="themes_values"> <item>light</item> <item>dark</item> + <item>auto</item> </string-array> <string-array name="filesizes"> diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index a649b0154..a4f1b2655 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -738,6 +738,7 @@ <string name="default_off">Off by default</string> <string name="pref_theme_light">Light theme</string> <string name="pref_theme_dark">Dark theme</string> + <string name="pref_theme_auto">Automatic</string> <string name="pref_theme_options_summary">Select the color palette</string> <string name="pref_theme_options">Theme</string> <string name="chooce_account">Choose account</string> diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml index fb91cb4a1..c59eb6f3b 100644 --- a/src/main/res/values/themes.xml +++ b/src/main/res/values/themes.xml @@ -104,7 +104,8 @@ <item name="icon_settings" type="reference">@drawable/ic_settings_black_24dp</item> <item name="icon_delete" type="reference">@drawable/ic_delete_black_24dp</item> <item name="icon_share" type="reference">@drawable/ic_share_black_24dp</item> - <item name="ic_cloud_download" type="reference">@drawable/ic_cloud_download_white_24dp</item> + <item name="ic_cloud_download" type="reference">@drawable/ic_cloud_download_white_24dp + </item> <item name="icon_scan_qr_code" type="reference">@drawable/ic_qrcode_scan_white_24dp</item> <item name="icon_scroll_down" type="reference">@drawable/ic_scroll_to_end_black</item> @@ -369,7 +370,7 @@ </style> <style name="SplashTheme" parent="Theme.AppCompat.NoActionBar"> - <item name="colorPrimaryDark">@color/grey300</item> + <item name="colorPrimaryDark">@android:color/transparent</item> <item name="android:windowBackground">@drawable/background</item> </style> |