[Android] New dark color following Material design specs

Nicolas Pomepuy git at videolan.org
Tue Jan 18 12:23:24 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Oct 22 13:02:11 2021 +0200| [e0139361b75fe094d863038da22fe16b1f4b6dec] | committer: Nicolas Pomepuy

New dark color following Material design specs

> https://code.videolan.org/videolan/vlc-android/commit/e0139361b75fe094d863038da22fe16b1f4b6dec
---

 application/resources/src/main/res/values/colors.xml | 2 ++
 application/vlc-android/res/values/styles.xml        | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/application/resources/src/main/res/values/colors.xml b/application/resources/src/main/res/values/colors.xml
index bea9f1677..fa37bd4ed 100644
--- a/application/resources/src/main/res/values/colors.xml
+++ b/application/resources/src/main/res/values/colors.xml
@@ -49,6 +49,8 @@
     <color name="grey875">#2a2a2a</color>
     <color name="grey900">#212121</color>
 
+    <color name="dark_background">#131313</color>
+
     <color name="playerbackground">#c0141414</color>
     <color name="playerbackground_invert">#c0ebebeb</color>
     <color name="black_more_transparent">#88000000</color>
diff --git a/application/vlc-android/res/values/styles.xml b/application/vlc-android/res/values/styles.xml
index aa5613b95..28bef8d9d 100644
--- a/application/vlc-android/res/values/styles.xml
+++ b/application/vlc-android/res/values/styles.xml
@@ -183,7 +183,7 @@
 
         <item name="windowActionModeOverlay">true</item>
         <item name="actionModeBackground">@color/grey875</item>
-        <item name="background_default">@color/black</item>
+        <item name="background_default">@color/dark_background</item>
         <item name="bottom_navigation_background">@drawable/bottom_navigation_background_dark</item>
         <item name="audio_header_background">@color/mini_player_dark</item>
         <item name="audio_header_divider">@color/black</item>
@@ -196,9 +196,9 @@
         <item name="bookmark_background">@color/black_transparent_80</item>
         <item name="bottom_sheet_radius">16dp</item>
         <item name="bottom_navigation_color">@color/grey500</item>
-        <item name="header_background">@color/blacktransparent</item>
+        <item name="header_background">@color/dark_background</item>
         <item name="background_default_darker">@color/grey875</item>
-        <item name="background_actionbar">@color/black</item>
+        <item name="background_actionbar">@color/dark_background</item>
         <item name="background_audio_tips">@color/black_transparent_90</item>
         <item name="audio_player_background_tint">@color/black_transparent_50</item>
         <item name="audio_browser_separator">@color/orange500</item>
@@ -210,7 +210,7 @@
         <item name="list_title">@color/list_title_dark</item>
         <item name="donate_card">@color/orange500transparent</item>
         <item name="donate_item_background">@drawable/donate_background_color_dark</item>
-        <item name="android:windowBackground">@color/black</item>
+        <item name="android:windowBackground">@color/dark_background</item>
         <item name="audio_chips_color">@color/white_transparent_90</item>
         <item name="audio_chips_text_color">@color/black_transparent_60</item>
         <item name="bottom_navigation_focus">@color/white_transparent_10</item>



More information about the Android mailing list