2020-04-09 12:58:54 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout 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"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/optionsButton"
|
|
|
|
style="@style/actionOverflowButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="10dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/logo"
|
|
|
|
android:layout_width="92dp"
|
|
|
|
android:layout_height="112dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:src="@drawable/privacy_breacher"></ImageView>
|
|
|
|
|
|
|
|
<TextView
|
2020-11-24 17:54:16 +01:00
|
|
|
android:id="@+id/mainTitle"
|
2020-04-09 12:58:54 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/logo"
|
|
|
|
android:layout_centerHorizontal="true"
|
2020-11-24 17:54:16 +01:00
|
|
|
android:layout_marginTop="35dp"
|
2020-04-09 12:58:54 +02:00
|
|
|
android:text="PrivacyBreacher"
|
|
|
|
android:textColor="@color/colorPrimaryDark" />
|
2020-11-24 17:54:16 +01:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/mainTitle"
|
|
|
|
android:layout_marginTop="15dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Background Service"
|
|
|
|
android:textColor="@color/colorPrimaryDark" />
|
|
|
|
|
|
|
|
<Switch
|
|
|
|
android:id="@+id/serviceSwitch"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:checked="true"
|
|
|
|
android:paddingLeft="10dp"
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
android:textOff="OFF"
|
|
|
|
android:textOn="ON" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Foreground Service"
|
|
|
|
android:textColor="@color/colorPrimaryDark" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
2020-04-09 12:58:54 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="10dp">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/physicalMonitorButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:background="@drawable/active_button"
|
|
|
|
android:text="Physical Activity Monitor" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="10dp">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/phoneMonitorButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:background="@drawable/active_button"
|
|
|
|
android:text="Phone Activity Monitor" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="10dp">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/phoneInfoButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:background="@drawable/active_button"
|
|
|
|
android:text="Phone Information" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="This is a DataBurn project" />
|
|
|
|
</RelativeLayout>
|