Added MD3 switch
This commit is contained in:
parent
92b4a2fb57
commit
bc29d2ad12
4 changed files with 39 additions and 2 deletions
|
@ -76,9 +76,11 @@
|
|||
android:id="@android:id/checkbox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@null"
|
||||
app:showText="false"
|
||||
android:clickable="false"
|
||||
android:focusable="false"
|
||||
app:track="@drawable/switch_track"
|
||||
android:thumb="@drawable/switch_thumb"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
|
@ -64,7 +64,9 @@
|
|||
android:id="@android:id/checkbox"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@null"
|
||||
app:showText="false"
|
||||
app:track="@drawable/switch_track"
|
||||
android:thumb="@drawable/switch_thumb"
|
||||
android:clickable="false"
|
||||
android:focusable="false"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue