summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/apptrackers_fragment.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/apptrackers_fragment.xml')
-rw-r--r--app/src/main/res/layout/apptrackers_fragment.xml19
1 files changed, 14 insertions, 5 deletions
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 @@
<androidx.core.widget.NestedScrollView
android:layout_height="match_parent"
android:layout_width="match_parent"
+ android:fillViewport="true"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
>
@@ -40,10 +41,11 @@
android:layout_width="match_parent"
android:orientation="vertical"
>
- <!--LinearLayout
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
+ android:padding="16dp"
android:gravity="center_vertical">
<TextView
android:layout_width="0dp"
@@ -51,14 +53,19 @@
android:layout_weight="1"
android:text="@string/apptrackers_block_all_toggle"
/>
- <androidx.appcompat.widget.SwitchCompat
+ <Switch
android:id="@+id/block_all_toggle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
- </LinearLayout-->
+ </LinearLayout>
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="@color/grey_divider"
+ />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/trackers"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_marginBottom="32dp"
tools:listitem="@layout/apptrackers_item_tracker_toggle"
@@ -66,9 +73,11 @@
/>
<TextView
android:id="@+id/no_trackers_yet"
+ android:padding="32dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:text="@string/apptrackers_no_trackers_yet"
+ android:gravity="center"
+ tools:text="@string/apptrackers_no_trackers_yet_block_off"
/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>