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
|
<com.google.android.material.appbar.AppBarLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
android:theme="@style/GadgetbridgeTheme.AppBarOverlay">
|
|
||||||
|
|
||||||
<com.google.android.material.appbar.MaterialToolbar
|
<com.google.android.material.appbar.MaterialToolbar
|
||||||
android:id="@+id/toolbar"
|
android:id="@+id/toolbar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="?attr/actionBarSize"
|
android:layout_height="?attr/actionBarSize"
|
||||||
android:background="?attr/colorPrimaryDark"
|
android:background="?attr/colorPrimaryDark" />
|
||||||
app:popupTheme="@style/GadgetbridgeTheme.PopupOverlay" />
|
|
||||||
|
|
||||||
</com.google.android.material.appbar.AppBarLayout>
|
</com.google.android.material.appbar.AppBarLayout>
|
||||||
|
|
||||||
|
@ -74,6 +74,7 @@
|
|||||||
<!-- Material 3 dynamic color (Material You) themes -->
|
<!-- Material 3 dynamic color (Material You) themes -->
|
||||||
<style name="GadgetbridgeThemeDynamicLight" parent="Theme.Material3.DynamicColors.Light">
|
<style name="GadgetbridgeThemeDynamicLight" parent="Theme.Material3.DynamicColors.Light">
|
||||||
<item name="actionBarStyle">@style/GadgetbridgeThemeDynamic.ActionBar</item>
|
<item name="actionBarStyle">@style/GadgetbridgeThemeDynamic.ActionBar</item>
|
||||||
|
<item name="actionOverflowMenuStyle">@style/GadgetbridgeTheme.OverflowMenuStyle</item>
|
||||||
<item name="android:statusBarColor">?attr/colorSurface</item>
|
<item name="android:statusBarColor">?attr/colorSurface</item>
|
||||||
<item name="android:windowLightStatusBar" tools:targetApi="23">true</item>
|
<item name="android:windowLightStatusBar" tools:targetApi="23">true</item>
|
||||||
<item name="drawer_header_color">?attr/colorSurface</item>
|
<item name="drawer_header_color">?attr/colorSurface</item>
|
||||||
@ -85,6 +86,7 @@
|
|||||||
</style>
|
</style>
|
||||||
<style name="GadgetbridgeThemeDynamicDark" parent="Theme.Material3.DynamicColors.Dark">
|
<style name="GadgetbridgeThemeDynamicDark" parent="Theme.Material3.DynamicColors.Dark">
|
||||||
<item name="actionBarStyle">@style/GadgetbridgeThemeDynamic.ActionBar</item>
|
<item name="actionBarStyle">@style/GadgetbridgeThemeDynamic.ActionBar</item>
|
||||||
|
<item name="actionOverflowMenuStyle">@style/GadgetbridgeTheme.OverflowMenuStyle</item>
|
||||||
<item name="android:statusBarColor">?attr/colorSurface</item>
|
<item name="android:statusBarColor">?attr/colorSurface</item>
|
||||||
<item name="android:windowLightStatusBar" tools:targetApi="23">false</item>
|
<item name="android:windowLightStatusBar" tools:targetApi="23">false</item>
|
||||||
<item name="drawer_header_color">?attr/colorSurface</item>
|
<item name="drawer_header_color">?attr/colorSurface</item>
|
||||||
@ -142,11 +144,13 @@
|
|||||||
<style name="GadgetbridgeTheme.OverflowMenuButton" parent="Widget.AppCompat.ActionButton.Overflow">
|
<style name="GadgetbridgeTheme.OverflowMenuButton" parent="Widget.AppCompat.ActionButton.Overflow">
|
||||||
<item name="tint">@android:color/white</item>
|
<item name="tint">@android:color/white</item>
|
||||||
</style>
|
</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">
|
<style name="GadgetbridgeTheme.ActionBarTitleStyle" parent="TextAppearance.Material3.ActionBar.Title">
|
||||||
<item name="android:textColor">@color/primarytext_dark</item>
|
<item name="android:textColor">@color/primarytext_dark</item>
|
||||||
</style>
|
</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 -->
|
<!-- splash screen -->
|
||||||
<style name="SplashTheme" parent="GadgetbridgeTheme.NoActionBar">
|
<style name="SplashTheme" parent="GadgetbridgeTheme.NoActionBar">
|
||||||
|
Loading…
Reference in New Issue
Block a user