mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 03:59:19 +01:00
Update ActionMode styling
This commit is contained in:
parent
02e370c2d8
commit
4929e66ecc
@ -133,7 +133,7 @@ dependencies {
|
|||||||
implementation 'androidx.biometric:biometric:1.1.0-alpha02'
|
implementation 'androidx.biometric:biometric:1.1.0-alpha02'
|
||||||
implementation 'androidx.browser:browser:1.2.0'
|
implementation 'androidx.browser:browser:1.2.0'
|
||||||
implementation 'androidx.cardview:cardview:1.0.0'
|
implementation 'androidx.cardview:cardview:1.0.0'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-rc1'
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.0'
|
||||||
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
|
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
|
||||||
implementation 'androidx.core:core-ktx:1.4.0-alpha01'
|
implementation 'androidx.core:core-ktx:1.4.0-alpha01'
|
||||||
implementation 'androidx.multidex:multidex:2.0.1'
|
implementation 'androidx.multidex:multidex:2.0.1'
|
||||||
|
@ -14,6 +14,14 @@
|
|||||||
<item name="tint">?attr/colorOnPrimary</item>
|
<item name="tint">?attr/colorOnPrimary</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="Theme.ActionMode" parent="Base.Widget.AppCompat.ActionMode">
|
||||||
|
<item name="background">?attr/colorPrimary</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="Theme.ActionMode.CloseButton" parent="Base.Widget.AppCompat.ActionButton.CloseMode">
|
||||||
|
<item name="android:tint">?attr/colorOnPrimary</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
<!--===========-->
|
<!--===========-->
|
||||||
<!--AlertDialog-->
|
<!--AlertDialog-->
|
||||||
|
@ -47,6 +47,9 @@
|
|||||||
<item name="android:navigationBarColor">?attr/colorPrimary</item>
|
<item name="android:navigationBarColor">?attr/colorPrimary</item>
|
||||||
<item name="windowActionModeOverlay">true</item>
|
<item name="windowActionModeOverlay">true</item>
|
||||||
<item name="elevationOverlayEnabled">false</item>
|
<item name="elevationOverlayEnabled">false</item>
|
||||||
|
<item name="actionModeStyle">@style/Theme.ActionMode</item>
|
||||||
|
<item name="actionModeCloseButtonStyle">@style/Theme.ActionMode.CloseButton</item>
|
||||||
|
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
|
||||||
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
||||||
<item name="toolbarNavigationButtonStyle">@style/Theme.Toolbar.Navigation</item>
|
<item name="toolbarNavigationButtonStyle">@style/Theme.Toolbar.Navigation</item>
|
||||||
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
||||||
@ -131,6 +134,9 @@
|
|||||||
<item name="android:navigationBarColor">?attr/colorPrimary</item>
|
<item name="android:navigationBarColor">?attr/colorPrimary</item>
|
||||||
<item name="windowActionModeOverlay">true</item>
|
<item name="windowActionModeOverlay">true</item>
|
||||||
<item name="elevationOverlayEnabled">false</item>
|
<item name="elevationOverlayEnabled">false</item>
|
||||||
|
<item name="actionModeStyle">@style/Theme.ActionMode</item>
|
||||||
|
<item name="actionModeCloseButtonStyle">@style/Theme.ActionMode.CloseButton</item>
|
||||||
|
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
|
||||||
<item name="actionBarTheme">@style/ThemeOverlay.MaterialComponents.Dark.ActionBar</item>
|
<item name="actionBarTheme">@style/ThemeOverlay.MaterialComponents.Dark.ActionBar</item>
|
||||||
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
||||||
<item name="toolbarNavigationButtonStyle">@style/Theme.Toolbar.Navigation</item>
|
<item name="toolbarNavigationButtonStyle">@style/Theme.Toolbar.Navigation</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user