
Implement a facimile of the new Material 3/You switches in the settings menu. There's no defined spec for this yet, so I just shamelessly ripped the implementation from Doodle.
15 lines
No EOL
453 B
XML
15 lines
No EOL
453 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item
|
|
android:bottom="4dp"
|
|
android:left="4dp"
|
|
android:right="4dp"
|
|
android:top="4dp">
|
|
<shape android:shape="oval">
|
|
<solid android:color="#000000" />
|
|
<size
|
|
android:width="20dp"
|
|
android:height="20dp" />
|
|
</shape>
|
|
</item>
|
|
</layer-list> |