Create view_preference_switch.xml

for md3 switches in settings
This commit is contained in:
Wojtaz0w 2023-09-30 07:24:30 +00:00 committed by GitHub
parent e1f4696115
commit 0125b16ec1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.materialswitch.MaterialSwitch xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/switchWidget"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@null"
android:clickable="false"
android:focusable="false"
app:trackDecorationTint="@color/colorSecondary" />