[Android] Fix toolbar popup background

Nicolas Pomepuy git at videolan.org
Thu Apr 30 09:37:46 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Apr 29 14:36:19 2020 +0200| [d7142fb28a3e5bcdafcf483353d1a9cdf347f6fc] | committer: Nicolas Pomepuy

Fix toolbar popup background

Fixes #1304

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

 application/vlc-android/res/values-night/styles.xml | 1 -
 application/vlc-android/res/values/styles.xml       | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/application/vlc-android/res/values-night/styles.xml b/application/vlc-android/res/values-night/styles.xml
index 0abf07fc8..ff50c1cf0 100644
--- a/application/vlc-android/res/values-night/styles.xml
+++ b/application/vlc-android/res/values-night/styles.xml
@@ -10,7 +10,6 @@
 
     <style name="Toolbar.VLC" parent="ThemeOverlay.MaterialComponents.Toolbar.Surface">
         <item name="android:textCursorDrawable">@drawable/cursor_w</item>
-        <item name="android:background">@color/black</item>
         <item name="colorControlNormal">@color/grey400</item>
         <item name="popupMenuBackground">@color/black</item>
     </style>
diff --git a/application/vlc-android/res/values/styles.xml b/application/vlc-android/res/values/styles.xml
index a8a51f17d..0bdce6319 100644
--- a/application/vlc-android/res/values/styles.xml
+++ b/application/vlc-android/res/values/styles.xml
@@ -143,7 +143,7 @@
 
     <style name="Theme.VLC.Apearance.Black" parent="Theme.MaterialComponents.NoActionBar">
         <item name="marginTopContent">50dp</item>
-        <item name="toolbar_popup_style">@style/ThemeOverlay.AppCompat.Dark</item>
+        <item name="toolbar_popup_style">@style/ThemeOverlay.MaterialComponents.Dark</item>
 
         <item name="android:gridViewStyle">@style/Theme.VLC.List</item>
         <item name="android:expandableListViewStyle">@style/Theme.VLC.List</item>



More information about the Android mailing list