From 7b49f8fef76c446fffe0b794e4d82d13eafc04e7 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Fri, 13 Apr 2018 22:10:56 +0200 Subject: fixed popup menu in dark theme --- src/main/res/layout/toolbar.xml | 10 +++++----- src/main/res/values/attrs.xml | 2 ++ src/main/res/values/themes.xml | 3 ++- 3 files changed, 9 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/main/res/layout/toolbar.xml b/src/main/res/layout/toolbar.xml index 932252873..5cb8b021a 100644 --- a/src/main/res/layout/toolbar.xml +++ b/src/main/res/layout/toolbar.xml @@ -1,11 +1,11 @@ - \ No newline at end of file + app:popupTheme="?popupOverlayStyle" + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" /> \ No newline at end of file diff --git a/src/main/res/values/attrs.xml b/src/main/res/values/attrs.xml index 0843cb888..faaa662ec 100644 --- a/src/main/res/values/attrs.xml +++ b/src/main/res/values/attrs.xml @@ -69,5 +69,7 @@ + + \ No newline at end of file diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml index 180ba0eeb..0fed4d2b3 100644 --- a/src/main/res/values/themes.xml +++ b/src/main/res/values/themes.xml @@ -5,6 +5,7 @@ @color/primary @color/primary_dark @color/accent + @style/ThemeOverlay.AppCompat.Light @color/grey50 @color/grey200 @@ -76,7 +77,7 @@ @color/primary @color/primary_dark @color/accent - + @style/ThemeOverlay.AppCompat.Dark @color/grey800 @color/grey900 -- cgit v1.2.3