From 3a16c088210733e07ffe6e1b2cc966ddae3fb19b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 23 Jul 2018 00:05:12 +0200 Subject: [PATCH] Make placeholder pretty Signed-off-by: Jason A. Donenfeld --- .../main/res/layout/tunnel_list_fragment.xml | 20 ++++++++++++++----- app/src/main/res/values-night/colors.xml | 3 +++ app/src/main/res/values/colors.xml | 3 +++ app/src/main/res/values/strings.xml | 2 +- 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/tunnel_list_fragment.xml b/app/src/main/res/layout/tunnel_list_fragment.xml index 377aeac1..48293133 100644 --- a/app/src/main/res/layout/tunnel_list_fragment.xml +++ b/app/src/main/res/layout/tunnel_list_fragment.xml @@ -68,17 +68,27 @@ app:fab_title="@string/create_from_file" /> - + - + android:layout_gravity="center" + android:textSize="20sp" + android:text="@string/tunnel_list_placeholder" /> + diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 9a43b163..08a5403f 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -7,4 +7,7 @@ #bbbbbb #5e97f6 + + + #aa2e2e2e diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 87454a73..d8e8018c 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -7,4 +7,7 @@ #444444 #2196F3 + + + #aafafafa diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3fc245ae..bfaf71b6 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -89,6 +89,7 @@ Install command line tools Unable to create tunnel: %s Successfully created tunnel ā€œ%sā€ + Add a tunnel using the blue button Unable to rename tunnel: %s Successfully renamed tunnel to ā€œ%sā€ WireGuard for Android v%s" @@ -99,5 +100,4 @@ Unable to export tunnels: %s Saved to %s Zip file will be saved to downloads folder - Tap the button at the bottom to begin