aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/drawable/switch_back_on.xml
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-07-18 19:38:52 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-07-18 19:38:52 +0200
commitf58b2afcaaf1977f02c590a8832bb67f77ee7be3 (patch)
treec4f22a8d1228dac4647203570936d8ba11b79f70 /src/main/res/drawable/switch_back_on.xml
parent451345f8ed050cf446f848368807a99981d8ab44 (diff)
changed switch widget
Diffstat (limited to 'src/main/res/drawable/switch_back_on.xml')
-rw-r--r--src/main/res/drawable/switch_back_on.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/res/drawable/switch_back_on.xml b/src/main/res/drawable/switch_back_on.xml
new file mode 100644
index 00000000..45117a98
--- /dev/null
+++ b/src/main/res/drawable/switch_back_on.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_enabled="false">
+ <shape android:shape="rectangle">
+ <solid android:color="#D5D5D5"/>
+ <corners android:radius="99dp"/>
+ </shape>
+ </item>
+ <item android:state_enabled="true">
+ <shape android:shape="rectangle">
+ <!-- 30% accent on white -->
+ <solid android:color="#b3ddf7"/>
+ <corners android:radius="99dp"/>
+ </shape>
+ </item>
+</selector> \ No newline at end of file