summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/apptrackers_fragment.xml22
1 files changed, 18 insertions, 4 deletions
diff --git a/app/src/main/res/layout/apptrackers_fragment.xml b/app/src/main/res/layout/apptrackers_fragment.xml
index e6e226f..d0a72d5 100644
--- a/app/src/main/res/layout/apptrackers_fragment.xml
+++ b/app/src/main/res/layout/apptrackers_fragment.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright (C) 2023 MURENA SAS
~ Copyright (C) 2021 E FOUNDATION
~
~ This program is free software: you can redistribute it and/or modify
@@ -82,20 +83,33 @@
/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/trackers"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:layout_marginBottom="32dp"
+ android:layout_marginBottom="16dp"
tools:listitem="@layout/apptrackers_item_tracker_toggle"
android:visibility="gone"
/>
<TextView
android:id="@+id/no_trackers_yet"
- android:padding="32dp"
+ android:paddingHorizontal="32dp"
+ android:paddingTop="64dp"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:gravity="center"
tools:text="@string/apptrackers_no_trackers_yet_block_off"
/>
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/btn_reset"
+ style="@style/Widget.MaterialComponents.Button.OutlinedButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/apptrackers_reset"
+ android:textSize="14sp"
+ android:layout_gravity="center"
+ android:visibility="gone"
+ tools:visibility="visible"
+ android:layout_margin="16dp"
+ />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>