From 2e897cc8af4234abc4e3f5c3448e1fd7b2b8a1bd Mon Sep 17 00:00:00 2001 From: Guillaume Jacquart Date: Tue, 5 Dec 2023 08:17:01 +0000 Subject: 1203 trackers oriented view --- app/src/main/res/drawable/bg_stroke_rounded_12.xml | 21 +++ app/src/main/res/drawable/ic_shield_alert.xml | 15 ++ app/src/main/res/drawable/pill_shape_tab_bg.xml | 22 +++ .../main/res/drawable/pill_shape_tab_indicator.xml | 21 +++ .../main/res/drawable/pill_shape_tab_selected.xml | 22 +++ app/src/main/res/layout/apptrackers_fragment.xml | 208 +++++++++++++-------- .../res/layout/apptrackers_item_tracker_toggle.xml | 22 ++- .../main/res/layout/disclaimer_block_trackers.xml | 33 ++++ app/src/main/res/layout/fragment_fake_location.xml | 19 +- app/src/main/res/layout/fragment_trackers.xml | 67 ++++--- app/src/main/res/layout/highlight_data_number.xml | 58 ++++++ .../main/res/layout/trackerdetails_fragment.xml | 135 +++++++++++++ app/src/main/res/layout/trackers_item_app.xml | 44 +++-- app/src/main/res/layout/trackers_list.xml | 24 +++ app/src/main/res/navigation/nav_graph.xml | 11 ++ app/src/main/res/values/colors.xml | 23 ++- app/src/main/res/values/strings.xml | 57 +++++- 17 files changed, 681 insertions(+), 121 deletions(-) create mode 100644 app/src/main/res/drawable/bg_stroke_rounded_12.xml create mode 100644 app/src/main/res/drawable/ic_shield_alert.xml create mode 100644 app/src/main/res/drawable/pill_shape_tab_bg.xml create mode 100644 app/src/main/res/drawable/pill_shape_tab_indicator.xml create mode 100644 app/src/main/res/drawable/pill_shape_tab_selected.xml create mode 100644 app/src/main/res/layout/disclaimer_block_trackers.xml create mode 100644 app/src/main/res/layout/highlight_data_number.xml create mode 100644 app/src/main/res/layout/trackerdetails_fragment.xml create mode 100644 app/src/main/res/layout/trackers_list.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/bg_stroke_rounded_12.xml b/app/src/main/res/drawable/bg_stroke_rounded_12.xml new file mode 100644 index 0000000..d9c839c --- /dev/null +++ b/app/src/main/res/drawable/bg_stroke_rounded_12.xml @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_shield_alert.xml b/app/src/main/res/drawable/ic_shield_alert.xml new file mode 100644 index 0000000..9c20541 --- /dev/null +++ b/app/src/main/res/drawable/ic_shield_alert.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/app/src/main/res/drawable/pill_shape_tab_bg.xml b/app/src/main/res/drawable/pill_shape_tab_bg.xml new file mode 100644 index 0000000..5ef1de5 --- /dev/null +++ b/app/src/main/res/drawable/pill_shape_tab_bg.xml @@ -0,0 +1,22 @@ + + + + + + diff --git a/app/src/main/res/drawable/pill_shape_tab_indicator.xml b/app/src/main/res/drawable/pill_shape_tab_indicator.xml new file mode 100644 index 0000000..344a049 --- /dev/null +++ b/app/src/main/res/drawable/pill_shape_tab_indicator.xml @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/pill_shape_tab_selected.xml b/app/src/main/res/drawable/pill_shape_tab_selected.xml new file mode 100644 index 0000000..520d985 --- /dev/null +++ b/app/src/main/res/drawable/pill_shape_tab_selected.xml @@ -0,0 +1,22 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/apptrackers_fragment.xml b/app/src/main/res/layout/apptrackers_fragment.xml index d0a72d5..06b8d3f 100644 --- a/app/src/main/res/layout/apptrackers_fragment.xml +++ b/app/src/main/res/layout/apptrackers_fragment.xml @@ -15,18 +15,15 @@ ~ You should have received a copy of the GNU General Public License ~ along with this program. If not, see . --> - - - - + android:background="@color/background" + android:layout_height="match_parent" + android:layout_width="match_parent" + > @@ -37,80 +34,137 @@ app:layout_behavior="@string/appbar_scrolling_view_behavior" > - - + android:orientation="vertical" + android:layout_marginHorizontal="16dp" + android:layout_marginVertical="32dp" + > + + + + + + + - + + + + + + + + + - - - - - - - - \ No newline at end of file + diff --git a/app/src/main/res/layout/apptrackers_item_tracker_toggle.xml b/app/src/main/res/layout/apptrackers_item_tracker_toggle.xml index db7086f..753e734 100644 --- a/app/src/main/res/layout/apptrackers_item_tracker_toggle.xml +++ b/app/src/main/res/layout/apptrackers_item_tracker_toggle.xml @@ -1,12 +1,26 @@ + + + + diff --git a/app/src/main/res/layout/fragment_fake_location.xml b/app/src/main/res/layout/fragment_fake_location.xml index 3c709e9..5da95e1 100644 --- a/app/src/main/res/layout/fragment_fake_location.xml +++ b/app/src/main/res/layout/fragment_fake_location.xml @@ -1,4 +1,21 @@ + + - - + - - - - + + + - \ No newline at end of file + diff --git a/app/src/main/res/layout/highlight_data_number.xml b/app/src/main/res/layout/highlight_data_number.xml new file mode 100644 index 0000000..7938165 --- /dev/null +++ b/app/src/main/res/layout/highlight_data_number.xml @@ -0,0 +1,58 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/trackerdetails_fragment.xml b/app/src/main/res/layout/trackerdetails_fragment.xml new file mode 100644 index 0000000..45ba0e4 --- /dev/null +++ b/app/src/main/res/layout/trackerdetails_fragment.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/trackers_item_app.xml b/app/src/main/res/layout/trackers_item_app.xml index 6af43ea..883a4da 100644 --- a/app/src/main/res/layout/trackers_item_app.xml +++ b/app/src/main/res/layout/trackers_item_app.xml @@ -1,20 +1,36 @@ + + + + diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml index 52a1677..1047da6 100644 --- a/app/src/main/res/navigation/nav_graph.xml +++ b/app/src/main/res/navigation/nav_graph.xml @@ -61,6 +61,9 @@ android:id="@+id/goto_appTrackersFragment" app:destination="@id/appTrackersFragment" /> + + + + + @color/e_action_bar @@ -10,14 +27,16 @@ @color/e_background @color/e_alpha_base + @color/e_disabled_color + @color/e_divider_color + + @color/e_background_overlay #263238 #FFFFFFFF - @color/e_disabled_color #28C97C #F8432E #AADCFE - @color/e_background_overlay @color/e_primary_text_color_dark diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ba3ba03..aa33837 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,4 +1,21 @@ + Advanced Privacy @@ -80,25 +97,55 @@ 24 hours past month past year - Manage trackers used in applications * : + @string/ipscrambling_app_list_infos + Trackers Activity Summary + Apps + Trackers + + %s trackers detected + detected in %s apps + HH:mm MMMM d - EEE MMMM yyyy - %1$d/%2$d blocked trackers, %3$d leaks + - Block trackers - Opt for the trackers you want to activate/deactivate. + %s tracking summary + Total + Detected trackers + Blocked + Trackers + Blocked leaks + %s allowed leaks + Manage tracker + Toggle on trackers control + Toggle off the trackers you want to allow: No trackers were detected yet. If new trackers are detected they will be updated here. No trackers were detected yet. All future trackers will be blocked. No trackers were detected yet. Some trackers were unblocked previously. Enable Quick Privacy to be able to activate/deactivate trackers. - %1$d blocked trackers out of %2$d detected trackers, %3$d blocked leaks and %4$d allowed leaks. App not installed. Changes will take effect when tracker blocker is on. Reset trackers + + %s tracking summary + Detected in + Different applications + Blocked leaks + %s allowed leaks + Manage tracker + Block this tracker across all apps + Toggle off the apps for which you want to allow this tracker: + + + Note: + in some rare cases, disabling tracker can cause some apps to malfunction. You can choose specifically which trackers you want to block. + Know more. + + Do not show again Trackers control -- cgit v1.2.1