summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_trackers.xml
diff options
context:
space:
mode:
authorAmit Kumar <amitkma@e.email>2021-06-16 00:33:46 +0530
committerAmit Kumar <amitkma@e.email>2021-06-16 00:33:46 +0530
commitf4fe8a4d881deef7e43ffe296df804c8c2c7a657 (patch)
treee7b74935a6f86aa123804804c537eb1390c1d48a /app/src/main/res/layout/fragment_trackers.xml
parentffbb686bd571185217c0e9e0fef0f164be9a07f7 (diff)
Add tracker UI and integrate lineage blocker service
Diffstat (limited to 'app/src/main/res/layout/fragment_trackers.xml')
-rw-r--r--app/src/main/res/layout/fragment_trackers.xml37
1 files changed, 32 insertions, 5 deletions
diff --git a/app/src/main/res/layout/fragment_trackers.xml b/app/src/main/res/layout/fragment_trackers.xml
index e11f4cc..13fcab3 100644
--- a/app/src/main/res/layout/fragment_trackers.xml
+++ b/app/src/main/res/layout/fragment_trackers.xml
@@ -26,21 +26,48 @@
>
<TextView
- android:id="@+id/internet_activity_privacy_info"
+ android:id="@+id/trackers_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:paddingTop="16dp"
- android:text="@string/internet_activity_privacy_info"
+ android:text="@string/manage_trackers_info"
android:textColor="@color/black"
android:textSize="14sp"
/>
- <Button android:id="@+id/triggerBlockerService"
- android:layout_height="wrap_content"
+ <TextView
+ android:id="@+id/learn_more_trackers_info"
+ android:layout_width="wrap_content"
+ android:layout_height="48dp"
+ android:fontFamily="sans-serif-medium"
+ android:gravity="center_vertical"
+ android:text="@string/learn_more"
+ android:textColor="#007fff"
+ android:textSize="14sp"
+ />
+
+ <ImageView
+ android:layout_height="300dp"
android:layout_width="wrap_content"
- android:text="Trigger Blocker"/>
+ android:scaleType="centerInside"
+ android:src="@drawable/dummy_trackers_usage"
/>
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:paddingTop="16dp"
+ android:text="@string/following_trackers_in_use"
+ android:textColor="@color/black"
+ android:textSize="16sp"
+ />
+ <androidx.recyclerview.widget.RecyclerView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:listitem="@layout/item_list_tracker"
+ android:id="@+id/recylcer_view_trackers"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file