summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAmit Kumar <amitkma@e.email>2021-06-01 23:49:41 +0530
committerAmit Kumar <amitkma@e.email>2021-06-01 23:49:41 +0530
commitffbb686bd571185217c0e9e0fef0f164be9a07f7 (patch)
tree85136dd6890b682ea82205483fc3b40addadb6cd /app/src/main/res
parent97b51f18dcc2f87a9cdd7f482033e30a6282d853 (diff)
Add dummy tracker feature to trigger blocker system service
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/fragment_trackers.xml46
1 files changed, 46 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..e11f4cc
--- /dev/null
+++ b/app/src/main/res/layout/fragment_trackers.xml
@@ -0,0 +1,46 @@
+<?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:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/white"
+ >
+
+ <include layout="@layout/topbar"/>
+
+ <androidx.core.widget.NestedScrollView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginBottom="32dp"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior"
+ >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:paddingLeft="32dp"
+ android:paddingRight="32dp"
+ tools:context=".main.MainActivity"
+ >
+
+ <TextView
+ android:id="@+id/internet_activity_privacy_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:textColor="@color/black"
+ android:textSize="14sp"
+ />
+
+ <Button android:id="@+id/triggerBlockerService"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:text="Trigger Blocker"/>
+ />
+ </LinearLayout>
+ </androidx.core.widget.NestedScrollView>
+</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file