From 63d1ccce6173445efba0028cc0fee1562e4540aa Mon Sep 17 00:00:00 2001 From: cyBerta Date: Wed, 3 Jul 2019 19:10:19 +0200 Subject: show a little ghost and extra information in notifications when trying or using an obfuscated connection --- app/src/main/res/values/strings.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/src/main/res') diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1b22592a..698aa91a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -110,4 +110,6 @@ LEAP depends on donations and grants. Please donate today if you value secure communication that is easy for both the end-user and the service provider. Remind me later Donate + Using an obfuscated connection. + Trying an obfuscated connection. -- cgit v1.2.3 From 990c4fa151adf9f91dc729c21b44edb0f0b55ccf Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 19 Jul 2019 18:46:12 +0200 Subject: add simple UI to enable/disable PT usage --- app/src/main/res/values/strings.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/src/main/res') diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 698aa91a..472a8549 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -112,4 +112,5 @@ Donate Using an obfuscated connection. Trying an obfuscated connection. + Using Bridges -- cgit v1.2.3 From 38d9a0d9ffe7fddb517e4058c4559a84d99e4a21 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 20 Jul 2019 14:04:13 +0200 Subject: add missing bridge icons --- app/src/main/res/drawable-hdpi/ic_bridge_36.png | Bin 0 -> 821 bytes app/src/main/res/drawable-mdpi/ic_bridge_36.png | Bin 0 -> 774 bytes app/src/main/res/drawable-xhdpi/ic_bridge_36.png | Bin 0 -> 1162 bytes app/src/main/res/drawable-xxhdpi/ic_bridge_36.png | Bin 0 -> 1308 bytes app/src/main/res/drawable-xxxhdpi/ic_bridge_36.png | Bin 0 -> 1760 bytes 5 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 app/src/main/res/drawable-hdpi/ic_bridge_36.png create mode 100644 app/src/main/res/drawable-mdpi/ic_bridge_36.png create mode 100644 app/src/main/res/drawable-xhdpi/ic_bridge_36.png create mode 100644 app/src/main/res/drawable-xxhdpi/ic_bridge_36.png create mode 100644 app/src/main/res/drawable-xxxhdpi/ic_bridge_36.png (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable-hdpi/ic_bridge_36.png b/app/src/main/res/drawable-hdpi/ic_bridge_36.png new file mode 100644 index 00000000..e3acd2d1 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_bridge_36.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_bridge_36.png b/app/src/main/res/drawable-mdpi/ic_bridge_36.png new file mode 100644 index 00000000..6c45a2d8 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_bridge_36.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_bridge_36.png b/app/src/main/res/drawable-xhdpi/ic_bridge_36.png new file mode 100644 index 00000000..6f89408c Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_bridge_36.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_bridge_36.png b/app/src/main/res/drawable-xxhdpi/ic_bridge_36.png new file mode 100644 index 00000000..d00613b8 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_bridge_36.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/ic_bridge_36.png b/app/src/main/res/drawable-xxxhdpi/ic_bridge_36.png new file mode 100644 index 00000000..8f531f5a Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/ic_bridge_36.png differ -- cgit v1.2.3 From 37f9cf65b3267f081c4b80c62240fc7754a30325 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 3 Aug 2019 19:00:05 +0200 Subject: create custom UI classes navigation drawer entries --- app/src/main/res/layout-xlarge/v_icon_text_list_item.xml | 14 +++++++++++--- app/src/main/res/layout-xlarge/v_switch_list_item.xml | 6 ++++++ app/src/main/res/layout/v_icon_text_list_item.xml | 14 +++++++++++--- app/src/main/res/layout/v_switch_list_item.xml | 7 +++++++ app/src/main/res/values/attrs.xml | 13 +++++++++++++ 5 files changed, 48 insertions(+), 6 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml b/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml index 0192e080..7ecd32a9 100644 --- a/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml +++ b/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml @@ -1,6 +1,6 @@ - @@ -27,6 +27,14 @@ android:paddingRight="?android:attr/listPreferredItemPaddingRight" android:minHeight="?android:attr/listPreferredItemHeight" tools:text="TEST" + android:layout_toEndOf="@id/material_icon" + android:layout_toRightOf="@+id/material_icon" /> - + + diff --git a/app/src/main/res/layout-xlarge/v_switch_list_item.xml b/app/src/main/res/layout-xlarge/v_switch_list_item.xml index d692070e..68f63dc1 100644 --- a/app/src/main/res/layout-xlarge/v_switch_list_item.xml +++ b/app/src/main/res/layout-xlarge/v_switch_list_item.xml @@ -45,4 +45,10 @@ android:minHeight="?android:attr/listPreferredItemHeight" android:checked="false" tools:text="" /> + \ No newline at end of file diff --git a/app/src/main/res/layout/v_icon_text_list_item.xml b/app/src/main/res/layout/v_icon_text_list_item.xml index 0631b2fc..d34baeb6 100644 --- a/app/src/main/res/layout/v_icon_text_list_item.xml +++ b/app/src/main/res/layout/v_icon_text_list_item.xml @@ -1,6 +1,6 @@ - @@ -26,6 +26,14 @@ android:paddingRight="?android:attr/listPreferredItemPaddingRight" android:minHeight="?android:attr/listPreferredItemHeightSmall" tools:text="TEST" + android:layout_toEndOf="@id/material_icon" + android:layout_toRightOf="@+id/material_icon" /> - + + diff --git a/app/src/main/res/layout/v_switch_list_item.xml b/app/src/main/res/layout/v_switch_list_item.xml index 26060a73..de0e4f36 100644 --- a/app/src/main/res/layout/v_switch_list_item.xml +++ b/app/src/main/res/layout/v_switch_list_item.xml @@ -45,4 +45,11 @@ android:minHeight="?android:attr/listPreferredItemHeightSmall" android:checked="false" tools:text="" /> + + \ No newline at end of file diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index eb9626bc..66a351ae 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -1,6 +1,19 @@ + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From e45a11bb75d81ed4c395e4a1a9a80226a85b8742 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 3 Aug 2019 19:09:26 +0200 Subject: rewrite Navigation drawer - improves layout on small screens, fixes switch entry UI bug --- app/src/main/res/layout/f_drawer_main.xml | 142 ++++++++++++++++++++---------- 1 file changed, 94 insertions(+), 48 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/f_drawer_main.xml b/app/src/main/res/layout/f_drawer_main.xml index b04d7b87..e4862ca8 100644 --- a/app/src/main/res/layout/f_drawer_main.xml +++ b/app/src/main/res/layout/f_drawer_main.xml @@ -1,70 +1,116 @@ - + android:focusable="true" + android:fillViewport="true" + > - - - - - - + android:layout_height="wrap_content" + android:orientation="vertical" + > - + + + + + + + - - + + - - + app:text="@string/nav_drawer_obfuscated_connection" + app:icon="@drawable/ic_bridge_36" + android:visibility="gone" + /> + + + + + + + + + - + - \ No newline at end of file + -- cgit v1.2.3 From 9044c3fdc13f02b7c21bb181d769fadb71924b75 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Thu, 19 Sep 2019 22:41:30 +0200 Subject: add subtitles to navigation drawer items - better explanation for PT --- .../main/res/layout-xlarge/v_icon_text_list_item.xml | 19 +++++++++++++++++++ app/src/main/res/layout-xlarge/v_switch_list_item.xml | 19 +++++++++++++++++++ app/src/main/res/layout/f_drawer_main.xml | 2 ++ app/src/main/res/layout/v_icon_text_list_item.xml | 19 +++++++++++++++++++ app/src/main/res/layout/v_switch_list_item.xml | 19 +++++++++++++++++++ app/src/main/res/values/attrs.xml | 3 +++ app/src/main/res/values/strings.xml | 2 ++ 7 files changed, 83 insertions(+) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml b/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml index 7ecd32a9..798b47e3 100644 --- a/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml +++ b/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml @@ -29,6 +29,25 @@ tools:text="TEST" android:layout_toEndOf="@id/material_icon" android:layout_toRightOf="@+id/material_icon" + android:layout_above="@+id/subtitle" + /> + + + + @@ -81,6 +82,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" app:text="@string/always_on_vpn" + app:subtitle="@string/subtitle_always_on_vpn" app:icon="@drawable/ic_always_on_36" android:visibility="gone" /> diff --git a/app/src/main/res/layout/v_icon_text_list_item.xml b/app/src/main/res/layout/v_icon_text_list_item.xml index d34baeb6..64cc474a 100644 --- a/app/src/main/res/layout/v_icon_text_list_item.xml +++ b/app/src/main/res/layout/v_icon_text_list_item.xml @@ -28,6 +28,25 @@ tools:text="TEST" android:layout_toEndOf="@id/material_icon" android:layout_toRightOf="@+id/material_icon" + android:layout_above="@+id/subtitle" + /> + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 472a8549..5ae52ea9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -102,6 +102,7 @@ Save battery Background data connections will hibernate when your phone is inactive. Always-on VPN + Open Android System Settings Do not show again To enable always-on VPN in Android VPN Settings click on the configure icon [img src] and turn the switch on. To protect your privacy optimally, you should also activate the option \"Block connections without VPN\". @@ -113,4 +114,5 @@ Using an obfuscated connection. Trying an obfuscated connection. Using Bridges + Circumvent VPN filtering -- cgit v1.2.3 From 91877ac8ed64927d14c0762cd4402e5ed736fab9 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 27 Sep 2019 12:17:52 +0200 Subject: fix flickering when restarting the vpn --- app/src/main/res/values/themes.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/src/main/res') diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 51a8ea0e..7e98ccf4 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -20,4 +20,8 @@ @drawable/splash_page + + -- cgit v1.2.3