Skip to content

Commit 1bfad26

Browse files
committed
background overflow menu white, update library
1 parent 019d027 commit 1bfad26

4 files changed

Lines changed: 19 additions & 13 deletions

File tree

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ android {
1010
applicationId "com.jvdegithub.aiscatcher"
1111
minSdk 23
1212
targetSdk 32
13-
versionCode 54
14-
versionName '0.54'
13+
versionCode 58
14+
versionName '0.58'
1515

1616
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1717
externalNativeBuild {
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
<resources xmlns:tools="http://schemas.android.com/tools">
22
<!-- Base application theme. -->
33
<style name="Theme.MyApplication" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
4-
<!-- Primary brand color. -->
4+
55
<item name="colorPrimary">@color/blue</item>
66
<item name="colorPrimaryVariant">@color/blue</item>
77
<item name="colorOnPrimary">@color/white</item>
8-
<!-- Secondary brand color. -->
8+
99
<item name="colorSecondary">@color/maastrichtblue</item>
1010
<item name="colorSecondaryVariant">@color/maastrichtblue</item>
1111
<item name="colorOnSecondary">@color/white</item>
12-
<!-- Status bar color. -->
12+
1313
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
14-
<!-- Customize your theme here. -->
14+
<item name="actionOverflowMenuStyle">@style/Theme.MyApp.PopupOverlay3</item>
15+
</style>
1516

17+
<style name="Theme.MyApp.PopupOverlay3" parent="@style/Widget.MaterialComponents.PopupMenu.Overflow">
18+
<item name="android:popupBackground">@color/white</item>
1619
</style>
1720

1821
<style name="Theme.MyApplication.NoActionBar">
@@ -22,4 +25,4 @@
2225

2326
<style name="Theme.MyApplication.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
2427
<style name="Theme.MyApplication.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
25-
</resources>
28+
</resources>

app/src/main/res/values/themes.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
<resources xmlns:tools="http://schemas.android.com/tools">
22
<!-- Base application theme. -->
33
<style name="Theme.MyApplication" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
4-
<!-- Primary brand color. -->
4+
55
<item name="colorPrimary">@color/blue</item>
66
<item name="colorPrimaryVariant">@color/blue</item>
77
<item name="colorOnPrimary">@color/white</item>
8-
<!-- Secondary brand color. -->
8+
99
<item name="colorSecondary">@color/maastrichtblue</item>
1010
<item name="colorSecondaryVariant">@color/maastrichtblue</item>
1111
<item name="colorOnSecondary">@color/white</item>
12-
<!-- Status bar color. -->
12+
1313
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
14-
<!-- Customize your theme here. -->
14+
<item name="actionOverflowMenuStyle">@style/Theme.MyApp.PopupOverlay3</item>
15+
</style>
1516

17+
<style name="Theme.MyApp.PopupOverlay3" parent="@style/Widget.MaterialComponents.PopupMenu.Overflow">
18+
<item name="android:popupBackground">@color/white</item>
1619
</style>
1720

1821
<style name="Theme.MyApplication.NoActionBar">
@@ -22,4 +25,4 @@
2225

2326
<style name="Theme.MyApplication.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
2427
<style name="Theme.MyApplication.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
25-
</resources>
28+
</resources>

0 commit comments

Comments
 (0)