mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 12:47:26 +01:00
Enable elevation overlay for MaterialSwitch (#5686)
This commit is contained in:
parent
1d10d29fa9
commit
24e5a4d7ec
@ -2,4 +2,5 @@
|
||||
<resources>
|
||||
<bool name="lightStatusBar">false</bool>
|
||||
<bool name="lightNavigationBar">false</bool>
|
||||
<bool name="elevationOverlayEnabled">true</bool>
|
||||
</resources>
|
||||
|
@ -2,4 +2,5 @@
|
||||
<resources>
|
||||
<bool name="lightStatusBar">true</bool>
|
||||
<bool name="lightNavigationBar">false</bool>
|
||||
<bool name="elevationOverlayEnabled">false</bool>
|
||||
</resources>
|
||||
|
@ -261,6 +261,17 @@
|
||||
<item name="tabRippleColor">?attr/colorOnPrimary</item>
|
||||
</style>
|
||||
|
||||
<!--==============-->
|
||||
<!--Widgets.Switch-->
|
||||
<!--==============-->
|
||||
<style name="Widget.Tachiyomi.Switch" parent="Widget.MaterialComponents.CompoundButton.Switch">
|
||||
<item name="materialThemeOverlay">@style/ThemeOverlay.Tachiyomi.Switch</item>
|
||||
</style>
|
||||
|
||||
<style name="ThemeOverlay.Tachiyomi.Switch" parent="">
|
||||
<item name="elevationOverlayEnabled">@bool/elevationOverlayEnabled</item>
|
||||
</style>
|
||||
|
||||
|
||||
<!--================-->
|
||||
<!--Navigation Views-->
|
||||
|
@ -64,6 +64,7 @@
|
||||
<item name="tabStyle">@style/Widget.Tachiyomi.TabLayout</item>
|
||||
<item name="bottomNavigationStyle">@style/Widget.Tachiyomi.BottomNavigationView</item>
|
||||
<item name="navigationRailStyle">@style/Widget.Tachiyomi.NavigationRailView</item>
|
||||
<item name="switchStyle">@style/Widget.Tachiyomi.Switch</item>
|
||||
<item name="elevationOverlayEnabled">false</item>
|
||||
<item name="lightSystemBarsOnPrimary">false</item>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user