diff options
author | Marvin Borner | 2018-08-29 21:17:20 +0200 |
---|---|---|
committer | Marvin Borner | 2018-08-29 21:17:20 +0200 |
commit | 7e03dd99cb3f84f3d176ba44fcce84e551dc3c03 (patch) | |
tree | a54bccaba474a543d4aa0510e50363a2c1dc3afd /app/src/main/res | |
parent | 7c32f15a399b132e587db01308b7201483fd5f78 (diff) |
Added dark/light themes
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/styles.xml | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index d4ea9ae..f55ac2c 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,8 +1,13 @@ <resources> - <!-- Base application theme. --> - <style name="AppTheme" parent="Theme.AppCompat"> - <!-- Customize your theme here. --> + <!-- Base dark application theme. --> + <style name="AppTheme" parent="Theme.AppCompat.Light"> + <item name="colorPrimary">@color/colorPrimary</item> + <item name="colorPrimaryDark">@color/colorPrimaryDark</item> + <item name="colorAccent">@color/colorAccent</item> + </style> + + <style name="AppTheme.Dark" parent="Theme.AppCompat"> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> @@ -13,6 +18,12 @@ <item name="windowNoTitle">true</item> </style> + <style name="AppTheme.Dark.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" /> |