[Android] Fix popup background color in dark theme
Nicolas Pomepuy
git at videolan.org
Thu Apr 16 15:43:46 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Apr 9 12:29:35 2020 +0200| [e3b82dc2082f2e09d85b0e8110476e6e9cd1c8e2] | committer: Nicolas Pomepuy
Fix popup background color in dark theme
> https://code.videolan.org/videolan/vlc-android/commit/e3b82dc2082f2e09d85b0e8110476e6e9cd1c8e2
---
application/vlc-android/res/layout/toolbar.xml | 1 +
application/vlc-android/res/values-night/styles.xml | 1 +
2 files changed, 2 insertions(+)
diff --git a/application/vlc-android/res/layout/toolbar.xml b/application/vlc-android/res/layout/toolbar.xml
index 943a2bc35..6edce3fb9 100644
--- a/application/vlc-android/res/layout/toolbar.xml
+++ b/application/vlc-android/res/layout/toolbar.xml
@@ -19,6 +19,7 @@
app:navigationIcon="?attr/homeAsUpIndicator"
app:popupTheme="?attr/toolbar_popup_style"
app:theme="@style/Toolbar.VLC"
+
app:titleTextColor="@color/orange500"
app:titleMarginStart="@dimen/default_margin"
tools:targetApi="o">
diff --git a/application/vlc-android/res/values-night/styles.xml b/application/vlc-android/res/values-night/styles.xml
index 0556d1991..0abf07fc8 100644
--- a/application/vlc-android/res/values-night/styles.xml
+++ b/application/vlc-android/res/values-night/styles.xml
@@ -12,5 +12,6 @@
<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>
</resources>
\ No newline at end of file
More information about the Android
mailing list