From e4b2f9101d2ecf16fa016f2f78492fe1c4a16b69 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 19 Dec 2021 02:33:12 +0100 Subject: ui,tunnel: add HTTP proxy setting to Go backend Only make the HTTP proxy settings visible on supported Android versions, i.e. Android 10 (AKA Android Q) and later. Signed-off-by: Mikael Magnusson --- ui/src/main/res/values/strings.xml | 5 +++++ ui/src/main/res/values/styles.xml | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'ui/src/main/res/values') diff --git a/ui/src/main/res/values/strings.xml b/ui/src/main/res/values/strings.xml index 6c090199..c10c4ea7 100644 --- a/ui/src/main/res/values/strings.xml +++ b/ui/src/main/res/values/strings.xml @@ -70,6 +70,7 @@ : Must be positive and no more than 65535 : Must be positive : Must be a valid UDP port number + : Must be valid proxy hostname and port Invalid key Invalid number Invalid value @@ -126,6 +127,10 @@ (optional) (optional, not recommended) (random) + Proxy + Proxy hostname + Proxy Auto-Config URL + Proxy port Illegal file name ā€œ%sā€ Unable to import tunnel: %s Import Tunnel from QR Code diff --git a/ui/src/main/res/values/styles.xml b/ui/src/main/res/values/styles.xml index 396f156c..da3c2cb7 100644 --- a/ui/src/main/res/values/styles.xml +++ b/ui/src/main/res/values/styles.xml @@ -61,4 +61,8 @@ + + -- cgit v1.2.3