aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res/layout
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/layout
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/layout')
-rw-r--r--app/src/main/res/layout/config_detail_fragment.xml3
-rw-r--r--app/src/main/res/layout/config_edit_fragment.xml3
-rw-r--r--app/src/main/res/layout/config_list_item.xml1
-rw-r--r--app/src/main/res/layout/placeholder_fragment.xml1
4 files changed, 6 insertions, 2 deletions
diff --git a/app/src/main/res/layout/config_detail_fragment.xml b/app/src/main/res/layout/config_detail_fragment.xml
index 1bae0450..add03c08 100644
--- a/app/src/main/res/layout/config_detail_fragment.xml
+++ b/app/src/main/res/layout/config_detail_fragment.xml
@@ -10,7 +10,8 @@
<ScrollView
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:background="?android:attr/colorBackground">
<RelativeLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/config_edit_fragment.xml b/app/src/main/res/layout/config_edit_fragment.xml
index 3351c008..285215fb 100644
--- a/app/src/main/res/layout/config_edit_fragment.xml
+++ b/app/src/main/res/layout/config_edit_fragment.xml
@@ -10,7 +10,8 @@
<ScrollView
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:background="?android:attr/colorBackground">
<RelativeLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/config_list_item.xml b/app/src/main/res/layout/config_list_item.xml
index 33f447c8..52bd385c 100644
--- a/app/src/main/res/layout/config_list_item.xml
+++ b/app/src/main/res/layout/config_list_item.xml
@@ -11,6 +11,7 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:background="@drawable/list_item_background_anim"
android:padding="16dp">
<TextView
diff --git a/app/src/main/res/layout/placeholder_fragment.xml b/app/src/main/res/layout/placeholder_fragment.xml
index bb89ef1a..c519b994 100644
--- a/app/src/main/res/layout/placeholder_fragment.xml
+++ b/app/src/main/res/layout/placeholder_fragment.xml
@@ -2,5 +2,6 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:background="?android:attr/colorBackground"
android:gravity="center"
android:text="@string/placeholder_text" />