mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 13:26:50 +01:00
Fix action menu and overflow menu icons colors
This commit is contained in:
parent
73f949fc8c
commit
d913dc5634
@ -6,12 +6,14 @@
|
|||||||
android:id="@+id/activity_action_filter"
|
android:id="@+id/activity_action_filter"
|
||||||
android:icon="@drawable/ic_filter_alt"
|
android:icon="@drawable/ic_filter_alt"
|
||||||
android:title="@string/pref_header_filter"
|
android:title="@string/pref_header_filter"
|
||||||
|
app:iconTint="?attr/actionmenu_icon_color"
|
||||||
app:showAsAction="always" />
|
app:showAsAction="always" />
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/overflowMenu"
|
android:id="@+id/overflowMenu"
|
||||||
android:icon="@drawable/ic_menu"
|
android:icon="@drawable/ic_menu"
|
||||||
android:title="@string/menuitem_more"
|
android:title="@string/menuitem_more"
|
||||||
|
app:iconTint="?attr/actionmenu_icon_color"
|
||||||
app:showAsAction="always">
|
app:showAsAction="always">
|
||||||
|
|
||||||
<menu>
|
<menu>
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
android:id="@+id/activity_detail_overflowMenu"
|
android:id="@+id/activity_detail_overflowMenu"
|
||||||
android:icon="@drawable/ic_share"
|
android:icon="@drawable/ic_share"
|
||||||
android:title="@string/share"
|
android:title="@string/share"
|
||||||
|
app:iconTint="?attr/actionmenu_icon_color"
|
||||||
app:showAsAction="always">
|
app:showAsAction="always">
|
||||||
|
|
||||||
<menu>
|
<menu>
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
<item name="actionBarStyle">@style/GadgetbridgeTheme.RedActionBar</item>
|
<item name="actionBarStyle">@style/GadgetbridgeTheme.RedActionBar</item>
|
||||||
<item name="drawerArrowStyle">@style/GadgetbridgeTheme.DrawerButtonStyle</item>
|
<item name="drawerArrowStyle">@style/GadgetbridgeTheme.DrawerButtonStyle</item>
|
||||||
<item name="toolbarNavigationButtonStyle">@style/GadgetbridgeTheme.NavigationButtonStyle</item>
|
<item name="toolbarNavigationButtonStyle">@style/GadgetbridgeTheme.NavigationButtonStyle</item>
|
||||||
|
<item name="actionOverflowButtonStyle">@style/GadgetbridgeTheme.OverflowMenuButton</item>
|
||||||
|
|
||||||
<item name="drawer_header_color">?attr/colorPrimaryDark</item>
|
<item name="drawer_header_color">?attr/colorPrimaryDark</item>
|
||||||
<item name="drawer_title_color">@android:color/white</item>
|
<item name="drawer_title_color">@android:color/white</item>
|
||||||
@ -49,6 +50,7 @@
|
|||||||
<item name="actionBarStyle">@style/GadgetbridgeTheme.RedActionBar</item>
|
<item name="actionBarStyle">@style/GadgetbridgeTheme.RedActionBar</item>
|
||||||
<item name="drawerArrowStyle">@style/GadgetbridgeTheme.DrawerButtonStyle</item>
|
<item name="drawerArrowStyle">@style/GadgetbridgeTheme.DrawerButtonStyle</item>
|
||||||
<item name="toolbarNavigationButtonStyle">@style/GadgetbridgeTheme.NavigationButtonStyle</item>
|
<item name="toolbarNavigationButtonStyle">@style/GadgetbridgeTheme.NavigationButtonStyle</item>
|
||||||
|
<item name="actionOverflowButtonStyle">@style/GadgetbridgeTheme.OverflowMenuButton</item>
|
||||||
|
|
||||||
<item name="drawer_header_color">?attr/colorPrimaryDark</item>
|
<item name="drawer_header_color">?attr/colorPrimaryDark</item>
|
||||||
<item name="drawer_title_color">@android:color/white</item>
|
<item name="drawer_title_color">@android:color/white</item>
|
||||||
@ -135,6 +137,9 @@
|
|||||||
<style name="GadgetbridgeTheme.NavigationButtonStyle" parent="Widget.AppCompat.Toolbar.Button.Navigation">
|
<style name="GadgetbridgeTheme.NavigationButtonStyle" parent="Widget.AppCompat.Toolbar.Button.Navigation">
|
||||||
<item name="tint">@android:color/white</item>
|
<item name="tint">@android:color/white</item>
|
||||||
</style>
|
</style>
|
||||||
|
<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.AppBarOverlay" parent="ThemeOverlay.Material3.DynamicColors.DayNight" />
|
||||||
<style name="GadgetbridgeTheme.PopupOverlay" 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">
|
||||||
|
Loading…
Reference in New Issue
Block a user