android: Handle checked state in activated background
[strongswan.git] / src / frontends / android / app / src / main / res / drawable / activated_background.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright (C) 2016 Tobias Brunner
4 HSR Hochschule fuer Technik Rapperswil
5
6 This program is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2 of the License, or (at your
9 option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10
11 This program is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
15 -->
16 <selector xmlns:android="http://schemas.android.com/apk/res/android">
17
18 <item
19 android:state_pressed="true"
20 android:drawable="@color/pressed" />
21
22 <item
23 android:state_activated="true"
24 android:drawable="@color/accent" />
25
26 <item
27 android:state_checked="true"
28 android:drawable="@color/checked" />
29
30 <item
31 android:drawable="@android:color/transparent" />
32
33 </selector>