diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-16 01:20:36 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-16 01:38:46 -0500 |
commit | 9e36e0d9c6bedec3238717fe694fd0bf16480bb9 (patch) | |
tree | 91a5730651d7aafa37e61c5ed7813d6b239c1979 /app/src/main/res/drawable/list_item_background.xml | |
parent | Config: Make it Comparable (diff) | |
download | wireguard-android-9e36e0d9c6bedec3238717fe694fd0bf16480bb9.tar.xz wireguard-android-9e36e0d9c6bedec3238717fe694fd0bf16480bb9.zip |
ConfigActivity: Make the two-pane layout more readable
Highlight the selected configuration, and add a border between the two
panes.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res/drawable/list_item_background.xml')
-rw-r--r-- | app/src/main/res/drawable/list_item_background.xml | 5 |
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> |