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,7 +17,7 @@
android:textSize="12sp"
tools:ignore="RtlHardcoded" />
<Switch
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/autoplay_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"