android: Handle checked state in activated background
authorTobias Brunner <tobias@strongswan.org>
Tue, 27 Jun 2017 08:14:43 +0000 (10:14 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 3 Jul 2017 08:27:54 +0000 (10:27 +0200)
src/frontends/android/app/src/main/res/drawable/activated_background.xml
src/frontends/android/app/src/main/res/values/colors.xml

index 04cf6ef..457df4f 100644 (file)
         android:drawable="@color/accent" />
 
     <item
+        android:state_checked="true"
+        android:drawable="@color/checked" />
+
+    <item
         android:drawable="@android:color/transparent" />
 
 </selector>
index f29ae19..eedfe23 100644 (file)
@@ -40,6 +40,9 @@
         name="panel_separator">#5a5a5a</color>
 
     <color
+        name="checked">#4a4a4a</color>
+
+    <color
         name="pressed">#5a5a5a</color>
 
 </resources>