Fixed Material Cab colors
This commit is contained in:
parent
acab873450
commit
cf217b5733
3 changed files with 8 additions and 4 deletions
|
@ -22,7 +22,8 @@
|
||||||
app:expandedTitleMarginBottom="24dp"
|
app:expandedTitleMarginBottom="24dp"
|
||||||
app:expandedTitleMarginEnd="24dp"
|
app:expandedTitleMarginEnd="24dp"
|
||||||
app:expandedTitleMarginStart="24dp"
|
app:expandedTitleMarginStart="24dp"
|
||||||
app:expandedTitleTextAppearance="@style/TextAppearance.Material3.HeadlineLarge"
|
app:expandedTitleTextAppearance="@style/TextViewHeadline4"
|
||||||
|
app:collapsedTitleTextAppearance="@style/TextViewHeadline6"
|
||||||
app:layout_scrollFlags="scroll|exitUntilCollapsed|snap|enterAlwaysCollapsed">
|
app:layout_scrollFlags="scroll|exitUntilCollapsed|snap|enterAlwaysCollapsed">
|
||||||
|
|
||||||
<com.google.android.material.appbar.MaterialToolbar
|
<com.google.android.material.appbar.MaterialToolbar
|
||||||
|
|
|
@ -35,4 +35,6 @@
|
||||||
</item>
|
</item>
|
||||||
<item name="popupMenuBackground">@drawable/popup_background</item>
|
<item name="popupMenuBackground">@drawable/popup_background</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="mcab_theme" parent="@style/ThemeOverlay.MaterialComponents.Dark" />
|
||||||
</resources>
|
</resources>
|
|
@ -46,12 +46,13 @@
|
||||||
<item name="titleMarginStart">16dp</item>
|
<item name="titleMarginStart">16dp</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="mcab_theme" parent="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar">
|
<style name="mcab_theme" parent="@style/ThemeOverlay.MaterialComponents.Light">
|
||||||
<item name="android:actionOverflowButtonStyle">@style/Widget.ActionButton.Overflow</item>
|
<item name="android:actionOverflowButtonStyle">@style/mcab_overflow_style</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="mcab_overflow_style">
|
<style name="mcab_overflow_style" parent="Widget.AppCompat.ActionButton.Overflow">
|
||||||
<item name="srcCompat">@drawable/ic_more_vert</item>
|
<item name="srcCompat">@drawable/ic_more_vert</item>
|
||||||
|
<item name="android:tint">?colorSurface</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ToolbarTextAppearanceNormal">
|
<style name="ToolbarTextAppearanceNormal">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue