From 2ea0e99f1bcec61e1a94bb7c35605fca49c53d1c Mon Sep 17 00:00:00 2001 From: jacquarg Date: Fri, 12 Nov 2021 11:34:57 +0100 Subject: Integrate trackers module, small UI fixes --- app/src/main/res/drawable/ic_disk.xml | 2 +- app/src/main/res/layout/apptrackers_fragment.xml | 19 ++++++++++++++----- .../res/layout/apptrackers_item_tracker_toggle.xml | 4 +--- app/src/main/res/layout/fragment_dashboard.xml | 2 +- app/src/main/res/values/colors.xml | 3 ++- app/src/main/res/values/strings.xml | 11 ++++++----- 6 files changed, 25 insertions(+), 16 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/ic_disk.xml b/app/src/main/res/drawable/ic_disk.xml index 92200b1..2600601 100644 --- a/app/src/main/res/drawable/ic_disk.xml +++ b/app/src/main/res/drawable/ic_disk.xml @@ -17,5 +17,5 @@ - + \ 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 1f3063d..f037beb 100644 --- a/app/src/main/res/layout/apptrackers_fragment.xml +++ b/app/src/main/res/layout/apptrackers_fragment.xml @@ -32,6 +32,7 @@ @@ -40,10 +41,11 @@ android:layout_width="match_parent" android:orientation="vertical" > - + + 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 22678ce..baab3d9 100644 --- a/app/src/main/res/layout/apptrackers_item_tracker_toggle.xml +++ b/app/src/main/res/layout/apptrackers_item_tracker_toggle.xml @@ -17,16 +17,14 @@ android:layout_weight="1" android:maxLines="1" android:ellipsize="end" - android:layout_marginStart="16dp" android:textSize="14sp" tools:text="Body sensor" /> - diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml index 6976948..c93b985 100644 --- a/app/src/main/res/layout/fragment_dashboard.xml +++ b/app/src/main/res/layout/fragment_dashboard.xml @@ -213,7 +213,7 @@ android:text="@string/dashboard_state_ipaddress_off" android:layout_height="88dp" app:icon="@{@drawable/ic_tracked}" app:title="@{@string/dashboard_am_i_tracked_title}" - app:subTitle='@{""}' + app:subTitle='@{@string/trackers_title}' /> #169659 #2CC766 - #855CF8 + + @lineageos.platform:color/color_default_blue2 \ 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 17d5e12..cce1107 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -17,7 +17,7 @@ Hidden Personal data leakage Last 24 hours - %d Trackers + %s Trackers Am I tracked? %1$d app trackers, %2$d active trackers @@ -53,17 +53,18 @@ Invalid coordinates - Manage and block + Manage trackers See tracker usage and which trackers are present in your apps. %d trackers 24 hours past month past year - Block trackers on each app + Allow or deny trackers in apps - - Trackers will appear as they are they start tracking you. + Block trackers + 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. Quick protection enables these settings when turned on -- cgit v1.2.1