diff options
author | Romain Hunault <romain.hunault@e.email> | 2021-08-13 10:14:03 +0000 |
---|---|---|
committer | Romain Hunault <romain.hunault@e.email> | 2021-08-13 10:14:03 +0000 |
commit | daea2f9510ac1af22a4e2e2f3db7c2d6d314008b (patch) | |
tree | 2dfcd606e8693a79520f9931e566c237547e7cd1 /app/src/main/res/layout/fragment_trackers.xml | |
parent | 97b51f18dcc2f87a9cdd7f482033e30a6282d853 (diff) | |
parent | f522c4615503120b5e62e45405e8c6c3b18e5e4a (diff) |
Merge branch 'features/blocker' into 'master'
Add blocker feature
See merge request e/privacy-central/privacycentralapp!6
Diffstat (limited to 'app/src/main/res/layout/fragment_trackers.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_trackers.xml | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_trackers.xml b/app/src/main/res/layout/fragment_trackers.xml new file mode 100644 index 0000000..591b2b6 --- /dev/null +++ b/app/src/main/res/layout/fragment_trackers.xml @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:background="@color/white" + android:layout_height="match_parent" + android:layout_width="match_parent" + > + + <include layout="@layout/topbar" /> + + <androidx.core.widget.NestedScrollView + android:layout_height="match_parent" + android:layout_marginBottom="32dp" + android:layout_width="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior" + > + + <LinearLayout + android:layout_height="match_parent" + android:layout_width="match_parent" + android:orientation="vertical" + android:paddingLeft="32dp" + android:paddingRight="32dp" + tools:context=".main.MainActivity" + > + + <TextView + android:id="@+id/trackers_info" + android:layout_gravity="center_horizontal" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:paddingTop="16dp" + android:text="@string/manage_trackers_info" + android:textColor="@color/black" + android:textSize="14sp" + /> + + <TextView + android:fontFamily="sans-serif-medium" + android:gravity="center_vertical" + android:id="@+id/learn_more_trackers_info" + android:layout_height="48dp" + android:layout_width="wrap_content" + android:text="@string/learn_more" + android:textColor="#007fff" + android:textSize="14sp" + /> + + <ImageView + android:layout_height="300dp" + android:layout_width="wrap_content" + android:scaleType="centerInside" + android:src="@drawable/dummy_trackers_usage" + /> + + <TextView + android:layout_gravity="center_horizontal" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:paddingTop="16dp" + android:text="@string/following_trackers_in_use" + android:textColor="@color/black" + android:textSize="16sp" + /> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recylcer_view_trackers" + android:layout_height="match_parent" + android:layout_width="match_parent" + tools:listitem="@layout/item_list_tracker" + /> + </LinearLayout> + </androidx.core.widget.NestedScrollView> +</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |