android: Add text color for checkable list entries
authorTobias Brunner <tobias@strongswan.org>
Tue, 27 Jun 2017 08:13:54 +0000 (10:13 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 3 Jul 2017 08:27:53 +0000 (10:27 +0200)
src/frontends/android/app/src/main/res/color/checkable_text_color.xml [new file with mode: 0644]

diff --git a/src/frontends/android/app/src/main/res/color/checkable_text_color.xml b/src/frontends/android/app/src/main/res/color/checkable_text_color.xml
new file mode 100644 (file)
index 0000000..e29e667
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+    Copyright (C) 2017 Tobias Brunner
+    HSR Hochschule fuer Technik Rapperswil
+
+    This program 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 2 of the License, or (at your
+    option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
+
+    This program 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:color="@android:color/secondary_text_dark" />
+    <item android:color="@android:color/primary_text_dark" />
+</selector>