Use colorPrimarySurface for master switch
This commit is contained in:
parent
3c4b1bf758
commit
53430efbf1
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
<style name="MasterSwitch" parent="@style/ThemeOverlay.AppCompat.Dark">
|
<style name="MasterSwitch" parent="@style/ThemeOverlay.AppCompat.Dark">
|
||||||
<item name="masterSwitchBackgroundOff">#80868b</item>
|
<item name="masterSwitchBackgroundOff">#80868b</item>
|
||||||
<item name="masterSwitchBackgroundOn">?colorAccent</item>
|
<item name="masterSwitchBackgroundOn">?colorPrimarySurface</item>
|
||||||
<item name="masterSwitchTextAppearance">@style/MasterSwitch.TextAppearance</item>
|
<item name="masterSwitchTextAppearance">@style/MasterSwitch.TextAppearance</item>
|
||||||
<item name="switchStyle">@style/MasterSwitch.Switch</item>
|
<item name="switchStyle">@style/MasterSwitch.Switch</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue