Enable elevation overlay for MaterialSwitch (#5686)
This commit is contained in:
parent
1d10d29fa9
commit
24e5a4d7ec
@ -2,4 +2,5 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<bool name="lightStatusBar">false</bool>
|
<bool name="lightStatusBar">false</bool>
|
||||||
<bool name="lightNavigationBar">false</bool>
|
<bool name="lightNavigationBar">false</bool>
|
||||||
|
<bool name="elevationOverlayEnabled">true</bool>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -2,4 +2,5 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<bool name="lightStatusBar">true</bool>
|
<bool name="lightStatusBar">true</bool>
|
||||||
<bool name="lightNavigationBar">false</bool>
|
<bool name="lightNavigationBar">false</bool>
|
||||||
|
<bool name="elevationOverlayEnabled">false</bool>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -261,6 +261,17 @@
|
|||||||
<item name="tabRippleColor">?attr/colorOnPrimary</item>
|
<item name="tabRippleColor">?attr/colorOnPrimary</item>
|
||||||
</style>
|
</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-->
|
<!--Navigation Views-->
|
||||||
|
@ -64,6 +64,7 @@
|
|||||||
<item name="tabStyle">@style/Widget.Tachiyomi.TabLayout</item>
|
<item name="tabStyle">@style/Widget.Tachiyomi.TabLayout</item>
|
||||||
<item name="bottomNavigationStyle">@style/Widget.Tachiyomi.BottomNavigationView</item>
|
<item name="bottomNavigationStyle">@style/Widget.Tachiyomi.BottomNavigationView</item>
|
||||||
<item name="navigationRailStyle">@style/Widget.Tachiyomi.NavigationRailView</item>
|
<item name="navigationRailStyle">@style/Widget.Tachiyomi.NavigationRailView</item>
|
||||||
|
<item name="switchStyle">@style/Widget.Tachiyomi.Switch</item>
|
||||||
<item name="elevationOverlayEnabled">false</item>
|
<item name="elevationOverlayEnabled">false</item>
|
||||||
<item name="lightSystemBarsOnPrimary">false</item>
|
<item name="lightSystemBarsOnPrimary">false</item>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user