Added MD3 switch
This commit is contained in:
parent
92b4a2fb57
commit
bc29d2ad12
4 changed files with 39 additions and 2 deletions
12
app/src/main/res/drawable/switch_track.xml
Normal file
12
app/src/main/res/drawable/switch_track.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="?android:colorPrimary" />
|
||||
<corners android:radius="56dp" />
|
||||
<size
|
||||
android:width="48dp"
|
||||
android:height="24dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
Loading…
Add table
Add a link
Reference in a new issue