Fancy toggle button for main menu
This commit is contained in:
parent
1691891a4d
commit
fafe7e2cd5
11 changed files with 109 additions and 19 deletions
13
app/src/main/res/drawable/toggle_button_bg.xml
Normal file
13
app/src/main/res/drawable/toggle_button_bg.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_checked="true">
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="?attr/colorPrimary" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="?attr/colorSurfaceContainerLowest" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
Loading…
Add table
Add a link
Reference in a new issue