From 366e4ffa04e8d301794e613b89ed918df0b59517 Mon Sep 17 00:00:00 2001 From: jacquarg Date: Fri, 29 Oct 2021 16:44:39 +0200 Subject: Update IPScrambling UI --- .../main/res/drawable/ic_ic_chevron_left_24dp.xml | 10 ++ app/src/main/res/drawable/outlined_background.xml | 22 +++ .../layout/fragment_internet_activity_policy.xml | 159 +++++++-------------- .../res/layout/ipscrambling_item_app_toggle.xml | 40 ++++++ .../res/layout/ipscrambling_item_selectmode.xml | 57 ++++++++ app/src/main/res/values/colors.xml | 1 + app/src/main/res/values/strings.xml | 23 +-- 7 files changed, 194 insertions(+), 118 deletions(-) create mode 100644 app/src/main/res/drawable/ic_ic_chevron_left_24dp.xml create mode 100644 app/src/main/res/drawable/outlined_background.xml create mode 100644 app/src/main/res/layout/ipscrambling_item_app_toggle.xml create mode 100644 app/src/main/res/layout/ipscrambling_item_selectmode.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/ic_ic_chevron_left_24dp.xml b/app/src/main/res/drawable/ic_ic_chevron_left_24dp.xml new file mode 100644 index 0000000..e88ab33 --- /dev/null +++ b/app/src/main/res/drawable/ic_ic_chevron_left_24dp.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/outlined_background.xml b/app/src/main/res/drawable/outlined_background.xml new file mode 100644 index 0000000..2040f18 --- /dev/null +++ b/app/src/main/res/drawable/outlined_background.xml @@ -0,0 +1,22 @@ + + + + + + + diff --git a/app/src/main/res/layout/fragment_internet_activity_policy.xml b/app/src/main/res/layout/fragment_internet_activity_policy.xml index 982b7c4..4f29776 100644 --- a/app/src/main/res/layout/fragment_internet_activity_policy.xml +++ b/app/src/main/res/layout/fragment_internet_activity_policy.xml @@ -24,9 +24,7 @@ android:layout_height="match_parent" android:layout_width="match_parent" android:orientation="vertical" - android:paddingLeft="32dp" - android:paddingRight="32dp" - tools:context=".main.MainActivity" + android:padding="16dp" > - - - - - - + - - - - - - - - - - - - - - - + android:layout_height="54dp" + android:background="@drawable/outlined_background" + android:layout_marginTop="16dp" + android:padding="1dp" + > + + + + diff --git a/app/src/main/res/layout/ipscrambling_item_app_toggle.xml b/app/src/main/res/layout/ipscrambling_item_app_toggle.xml new file mode 100644 index 0000000..117b834 --- /dev/null +++ b/app/src/main/res/layout/ipscrambling_item_app_toggle.xml @@ -0,0 +1,40 @@ + + + + + + + + + diff --git a/app/src/main/res/layout/ipscrambling_item_selectmode.xml b/app/src/main/res/layout/ipscrambling_item_selectmode.xml new file mode 100644 index 0000000..4758d56 --- /dev/null +++ b/app/src/main/res/layout/ipscrambling_item_selectmode.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 2a16240..5f4bcb4 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -11,6 +11,7 @@ @lineageos.platform:color/color_default_accent #DE000000 + #BD000000 #99000000 #61000000 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f6bcf72..35987ea 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -30,8 +30,20 @@ Real IP address exposed Real IP address hidden + + My internet activity + Choose if you want to expose your real IP address or hide when Quick Privacy is enabled. + Use real IP address + I can be tracked by my IP address + Hide IP address + I am anonymous on the internet + Note: when active, this setting will slow down your Internet connectivity speed (uses Thor network). + Force a country of origin: + Any country + + Apply this setting to all selected apps: + - Internet Activity Privacy Quick protection enables these settings when turned on - All trackers are turned off.\n- Your geolocation will be faked.\n- Your real IP address will be hidden. Learn more @@ -42,19 +54,12 @@ Longitude Latitude Add location - Choose if you want to expose your real IP address or hide when connected to the internet (uses the tor network). - Use real IP address - I can be tracked by my IP address - Hide IP address - I am anonymous on the internet I am exposing my real IP address All apps use hidden IP Only the following apps use hidden IP - Select Apps to hide IP + Tor is starting... Tor is stopping... - Hidden IP\'s location - any ipscrambling_any_location Manage and control apps requesting various permissions. -- cgit v1.2.1