From 830d0992a7669f2fc20cae98137320a1d1dca5df Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 6 Apr 2020 19:08:57 -0600 Subject: [PATCH] ui: show excluded/included apps in details view Signed-off-by: Jason A. Donenfeld --- .../res/layout/tunnel_detail_fragment.xml | 24 +++++++++++++++++++ ui/src/main/res/values/strings.xml | 9 +++++++ 2 files changed, 33 insertions(+) diff --git a/ui/src/main/res/layout/tunnel_detail_fragment.xml b/ui/src/main/res/layout/tunnel_detail_fragment.xml index a47f6b4..43e3e20 100644 --- a/ui/src/main/res/layout/tunnel_detail_fragment.xml +++ b/ui/src/main/res/layout/tunnel_detail_fragment.xml @@ -219,6 +219,30 @@ app:layout_constraintStart_toStartOf="@+id/mtu_label" app:layout_constraintTop_toBottomOf="@+id/mtu_label" tools:text="1500" /> + + + + diff --git a/ui/src/main/res/values/strings.xml b/ui/src/main/res/values/strings.xml index 5539b24..f3c4eb4 100644 --- a/ui/src/main/res/values/strings.xml +++ b/ui/src/main/res/values/strings.xml @@ -28,6 +28,14 @@ %d Included Application %d Included Applications + + %d excluded + %d excluded + + + %d included + %d included + All Applications Exclude Include only @@ -50,6 +58,7 @@ Use all apps Add peer Addresses + Applications External apps may not toggle tunnels (recommended) External apps may toggle tunnels (advanced) Allow remote control apps