summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorjacquarg <guillaume.jacquart@hoodbrains.com>2022-02-27 12:00:20 +0100
committerjacquarg <guillaume.jacquart@hoodbrains.com>2022-03-01 10:06:22 +0100
commite6ba99e31da49df559da60e8d012e40813ee14f0 (patch)
tree2b85b58d5e92c25a98df1fcd0dde255a8f2f42a1 /app/src/main/res
parentaaab068ecf81c862a6adcc06ba442bca82a9d938 (diff)
Add trackers summary count on apptrackers, #4597
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/apptrackers_fragment.xml7
-rw-r--r--app/src/main/res/values/strings.xml1
2 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/layout/apptrackers_fragment.xml b/app/src/main/res/layout/apptrackers_fragment.xml
index 13f58e3..17d992e 100644
--- a/app/src/main/res/layout/apptrackers_fragment.xml
+++ b/app/src/main/res/layout/apptrackers_fragment.xml
@@ -41,6 +41,13 @@
android:layout_width="match_parent"
android:orientation="vertical"
>
+ <TextView
+ android:id="@+id/trackers_count_summary"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textSize="16sp"
+ android:padding="16dp"
+ />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 397bd51..822244b 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -74,6 +74,7 @@
<string name="apptrackers_no_trackers_yet_block_off">No trackers were detected yet. If new trackers are detected they will be updated here.</string>
<string name="apptrackers_no_trackers_yet_block_on">No trackers were detected yet. All future trackers will be blocked.</string>
<string name="apptrackers_error_quickprivacy_disabled">Enable Quick Privacy to be able to activate/deactivate trackers.</string>
+ <string name="apptrackers_trackers_count_summary">%1$d blocked trackers out of %2$d detected trackers</string>
<!-- -->
<string name="quick_protection_info">Quick protection enables these settings when turned on</string>