Use SwitchCompat to make switch uniform across versions

Also just use colorControlActivated in the base V19 theme, instead of using the prefix android: in each V21 service theme
This commit is contained in:
Stypox 2021-06-09 13:04:21 +02:00
parent 574eb54ea3
commit 10e0106721
3 changed files with 2 additions and 16 deletions

View file

@ -17,6 +17,7 @@
<item name="floatingActionButtonStyle">@style/FloatingActionButtonTheme</item>
<item name="toolbarSearchColor">@color/white</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
<item name="colorControlActivated">?attr/colorPrimary</item>
</style>
<style name="Base" parent="Base.V19"/>