From 78d976162d5b88590750e854f0d7974b5163dccc Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 6 Jul 2018 05:05:09 +0200 Subject: [PATCH] PeerEditor: put exclusion checkbox next to label Signed-off-by: Jason A. Donenfeld --- .../main/res/layout/tunnel_editor_peer.xml | 24 ++++++++++--------- app/src/main/res/values/strings.xml | 3 +-- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/app/src/main/res/layout/tunnel_editor_peer.xml b/app/src/main/res/layout/tunnel_editor_peer.xml index 5a84fd92..8afc5006 100644 --- a/app/src/main/res/layout/tunnel_editor_peer.xml +++ b/app/src/main/res/layout/tunnel_editor_peer.xml @@ -93,9 +93,21 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/pre_shared_key_text" + android:layout_toStartOf="@+id/exclude_private_ips" android:labelFor="@+id/allowed_ips_text" android:text="@string/allowed_ips" /> + + - - diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index defd4370..b7f6930a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -44,7 +44,7 @@ Please obtain root access and try again Error bringing up tunnel: %s Excluded Applications - Exclude Private IPs + Exclude private IPs Generate (auto) (generated) @@ -95,7 +95,6 @@ %s backend v%s Checking %s backend version Unknown %s version - %d Excluded Applications Export tunnels to zip file Unable to export tunnels: %s Saved to %s