Remove toolbar style

This commit is contained in:
Wolf-Martell Montwé 2024-02-13 16:31:43 +01:00
parent f9c3086e08
commit 0279a77568
No known key found for this signature in database
GPG key ID: 6D45B21512ACBF72
4 changed files with 0 additions and 20 deletions

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.appbar.MaterialToolbar xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/toolbar"
style="?attr/toolbarStyle"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" />

View file

@ -2,7 +2,6 @@
<resources>
<declare-styleable name="K9Styles">
<attr name="toolbarColor" format="reference|color" />
<attr name="messageHeaderBackground" format="reference|color" />
<attr name="extraMessageHeaderBackground" format="reference|color" />
<attr name="floatingActionButtonBackgroundColor" format="reference|color" />

View file

@ -83,18 +83,6 @@
<item name="android:layout_width">match_parent</item>
</style>
<style name="Widget.K9.Toolbar" parent="Widget.Material3.Toolbar">
<item name="android:background">?attr/toolbarColor</item>
<item name="titleTextColor">?android:attr/textColorPrimary</item>
<item name="subtitleTextColor">?android:attr/textColorSecondary</item>
<item name="android:theme">@style/ThemeOverlay.K9.Toolbar</item>
</style>
<style name="ThemeOverlay.K9.Toolbar" parent="">
<item name="colorControlNormal">?android:attr/textColorSecondary</item>
<item name="actionMenuTextColor">?android:attr/textColorSecondary</item>
</style>
<style name="Widget.K9.Button.Snackbar" parent="Widget.Material3.Button.TextButton.Snackbar">
<item name="android:textColor">?attr/colorSecondary</item>
</style>

View file

@ -61,15 +61,12 @@
// Legacy styles
<item name="windowActionModeOverlay">true</item>
<item name="toolbarColor">@color/material_gray_100</item>
<item name="messageHeaderBackground">@color/material_gray_200</item>
<item name="extraMessageHeaderBackground">@color/material_gray_100</item>
<item name="bottomBarBackground">@color/material_gray_50</item>
<item name="floatingActionButtonBackgroundColor">?attr/colorPrimary</item>
<item name="floatingActionButtonForegroundColor">?attr/colorOnPrimary</item>
<item name="toolbarStyle">@style/Widget.K9.Toolbar</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="textInputStyle">?attr/textInputOutlinedStyle</item>
@ -270,8 +267,6 @@
// Legacy styles
<item name="windowActionModeOverlay">true</item>
<item name="android:navigationBarColor">#000000</item>
<item name="toolbarColor">@color/material_gray_900</item>
<item name="messageHeaderBackground">@color/material_gray_900</item>
<item name="extraMessageHeaderBackground">@color/material_gray_900</item>
@ -279,7 +274,6 @@
<item name="floatingActionButtonBackgroundColor">?attr/colorPrimary</item>
<item name="floatingActionButtonForegroundColor">?attr/colorOnPrimary</item>
<item name="toolbarStyle">@style/Widget.K9.Toolbar</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="textInputStyle">?attr/textInputOutlinedStyle</item>