PlayerAndroid/appthemehelper/src/main/res/drawable/ate_track.xml

40 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2019 Hemanth Savarala.
~
~ Licensed under the GNU General Public License v3
~
~ This is free software: you can redistribute it and/or modify it under
~ the terms of the GNU General Public License as published by
~ the Free Software Foundation either version 3 of the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="false" android:state_enabled="true">
<shape android:dither="true" android:shape="rectangle" android:useLevel="false" android:visible="true">
<stroke android:width="2dp" android:color="@color/md_white_1000" />
<corners android:radius="25dp" />
<size android:width="2dp" />
<solid android:color="@android:color/transparent" />
</shape>
</item>
<item android:state_checked="true" android:state_enabled="true">
<shape android:dither="true" android:shape="rectangle" android:useLevel="false" android:visible="true">
<stroke android:width="2dp" android:color="@color/md_deep_purple_A700" />
<corners android:radius="25dp" />
<size android:width="2dp" />
<solid android:color="@android:color/transparent" />
</shape>
</item>
<item android:state_enabled="false">
<shape android:dither="true" android:shape="rectangle" android:useLevel="false" android:visible="true">
<stroke android:width="2dp" android:color="?colorOnSecondary" />
<corners android:radius="25dp" />
<size android:width="2dp" />
<solid android:color="@android:color/transparent" />
</shape>
</item>
</selector>