diff options
author | ByteHamster <info@bytehamster.com> | 2018-07-26 10:26:00 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2018-07-26 10:26:00 +0200 |
commit | 7e05ff2a4eaf82e20e58575610da63502250f8d5 (patch) | |
tree | bb35431cfaa426414c90dce89b6ebd1c8ed61ead /core/src/main | |
parent | aa2ec1687f67d319230bbc79b6cf41f298e991f2 (diff) | |
download | AntennaPod-7e05ff2a4eaf82e20e58575610da63502250f8d5.zip |
Theming support for about screen
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/res/values/attrs.xml | 5 | ||||
-rw-r--r-- | core/src/main/res/values/styles.xml | 20 |
2 files changed, 25 insertions, 0 deletions
diff --git a/core/src/main/res/values/attrs.xml b/core/src/main/res/values/attrs.xml index f3c2b9b7e..9d168a1b9 100644 --- a/core/src/main/res/values/attrs.xml +++ b/core/src/main/res/values/attrs.xml @@ -63,4 +63,9 @@ <attr name="overlay_background" format="color"/> <attr name="nav_drawer_background" format="color"/> + + <attr name="about_screen_background" format="color"/> + <attr name="about_screen_card_background" format="color"/> + <attr name="about_screen_card_border" format="color"/> + <attr name="about_screen_font_color" format="color"/> </resources> diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index 0314ca431..cbd1dc88e 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -69,6 +69,11 @@ <item type="attr" name="master_switch_background">@color/master_switch_background_light</item> <item type="attr" name="currently_playing_background">@color/highlight_light</item> <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item> + + <item type="attr" name="about_screen_background">#e5e5e5</item> + <item type="attr" name="about_screen_card_background">#ffffff</item> + <item type="attr" name="about_screen_card_border">#d2d2d2</item> + <item type="attr" name="about_screen_font_color">#000000</item> </style> <style name="Theme.AntennaPod.Dark" parent="Theme.Base.AntennaPod.Dark"> @@ -139,6 +144,11 @@ <item type="attr" name="master_switch_background">@color/master_switch_background_dark</item> <item type="attr" name="currently_playing_background">@color/highlight_dark</item> <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item> + + <item type="attr" name="about_screen_background">#303030</item> + <item type="attr" name="about_screen_card_background">#424242</item> + <item type="attr" name="about_screen_card_border">#262626</item> + <item type="attr" name="about_screen_font_color">#ffffff</item> </style> <style name="Theme.AntennaPod.TrueBlack" parent="Theme.Base.AntennaPod.TrueBlack"> @@ -231,6 +241,11 @@ <item type="attr" name="master_switch_background">@color/master_switch_background_light</item> <item type="attr" name="currently_playing_background">@color/highlight_light</item> <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item> + + <item type="attr" name="about_screen_background">#e5e5e5</item> + <item type="attr" name="about_screen_card_background">#ffffff</item> + <item type="attr" name="about_screen_card_border">#d2d2d2</item> + <item type="attr" name="about_screen_font_color">#000000</item> </style> <style name="Theme.AntennaPod.Dark.NoTitle" parent="Theme.Base.AntennaPod.Dark.NoTitle"> @@ -302,6 +317,11 @@ <item type="attr" name="master_switch_background">@color/master_switch_background_dark</item> <item type="attr" name="currently_playing_background">@color/highlight_dark</item> <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item> + + <item type="attr" name="about_screen_background">#303030</item> + <item type="attr" name="about_screen_card_background">#424242</item> + <item type="attr" name="about_screen_card_border">#262626</item> + <item type="attr" name="about_screen_font_color">#ffffff</item> </style> <style name="Theme.AntennaPod.TrueBlack.NoTitle" parent="Theme.Base.AntennaPod.TrueBlack.NoTitle"> |