mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 19:36:50 +01:00
Fix action overflow menu color
This commit is contained in:
parent
99769702db
commit
2667ede174
@ -10,15 +10,13 @@
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/GadgetbridgeTheme.AppBarOverlay">
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.google.android.material.appbar.MaterialToolbar
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimaryDark"
|
||||
app:popupTheme="@style/GadgetbridgeTheme.PopupOverlay" />
|
||||
android:background="?attr/colorPrimaryDark" />
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
|
@ -74,6 +74,7 @@
|
||||
<!-- Material 3 dynamic color (Material You) themes -->
|
||||
<style name="GadgetbridgeThemeDynamicLight" parent="Theme.Material3.DynamicColors.Light">
|
||||
<item name="actionBarStyle">@style/GadgetbridgeThemeDynamic.ActionBar</item>
|
||||
<item name="actionOverflowMenuStyle">@style/GadgetbridgeTheme.OverflowMenuStyle</item>
|
||||
<item name="android:statusBarColor">?attr/colorSurface</item>
|
||||
<item name="android:windowLightStatusBar" tools:targetApi="23">true</item>
|
||||
<item name="drawer_header_color">?attr/colorSurface</item>
|
||||
@ -85,6 +86,7 @@
|
||||
</style>
|
||||
<style name="GadgetbridgeThemeDynamicDark" parent="Theme.Material3.DynamicColors.Dark">
|
||||
<item name="actionBarStyle">@style/GadgetbridgeThemeDynamic.ActionBar</item>
|
||||
<item name="actionOverflowMenuStyle">@style/GadgetbridgeTheme.OverflowMenuStyle</item>
|
||||
<item name="android:statusBarColor">?attr/colorSurface</item>
|
||||
<item name="android:windowLightStatusBar" tools:targetApi="23">false</item>
|
||||
<item name="drawer_header_color">?attr/colorSurface</item>
|
||||
@ -142,11 +144,13 @@
|
||||
<style name="GadgetbridgeTheme.OverflowMenuButton" parent="Widget.AppCompat.ActionButton.Overflow">
|
||||
<item name="tint">@android:color/white</item>
|
||||
</style>
|
||||
<style name="GadgetbridgeTheme.AppBarOverlay" parent="ThemeOverlay.Material3.DynamicColors.DayNight" />
|
||||
<style name="GadgetbridgeTheme.PopupOverlay" parent="ThemeOverlay.Material3.DynamicColors.DayNight" />
|
||||
<style name="GadgetbridgeTheme.ActionBarTitleStyle" parent="TextAppearance.Material3.ActionBar.Title">
|
||||
<item name="android:textColor">@color/primarytext_dark</item>
|
||||
</style>
|
||||
<style name="GadgetbridgeTheme.OverflowMenuStyle" parent="Widget.Material3.PopupMenu.Overflow">
|
||||
<item name="android:popupBackground">?attr/colorSecondaryContainer</item>
|
||||
<item name="android:textColorPrimary">?attr/colorOnSecondaryContainer</item>
|
||||
</style>
|
||||
|
||||
<!-- splash screen -->
|
||||
<style name="SplashTheme" parent="GadgetbridgeTheme.NoActionBar">
|
||||
|
Loading…
Reference in New Issue
Block a user