aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res/drawable/list_item_background.xml
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-16 01:20:36 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-16 01:38:46 -0500
commit1db9d53c6398868ed99a38ef80db27cfd0a50b27 (patch)
tree91a5730651d7aafa37e61c5ed7813d6b239c1979 /app/src/main/res/drawable/list_item_background.xml
parentConfig: Make it Comparable (diff)
downloadwireguard-android-1db9d53c6398868ed99a38ef80db27cfd0a50b27.tar.xz
wireguard-android-1db9d53c6398868ed99a38ef80db27cfd0a50b27.zip
ConfigActivity: Make the two-pane layout more readable
Highlight the selected configuration, and add a border between the two panes.
Diffstat (limited to 'app/src/main/res/drawable/list_item_background.xml')
-rw-r--r--app/src/main/res/drawable/list_item_background.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/list_item_background.xml b/app/src/main/res/drawable/list_item_background.xml
new file mode 100644
index 00000000..f005ac1d
--- /dev/null
+++ b/app/src/main/res/drawable/list_item_background.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@color/list_item_activated" android:state_activated="true" />
+ <item android:drawable="@android:color/transparent" />
+</selector>