2015-10-24 18:01:55 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-01-31 10:04:55 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-07-24 16:02:56 +00:00
|
|
|
xmlns:ads="http://schemas.android.com/apk/res-auto"
|
2015-10-24 18:01:55 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
2015-10-25 15:56:14 +00:00
|
|
|
android:paddingEnd="@dimen/activity_horizontal_margin"
|
2016-02-02 15:30:57 +00:00
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
2015-10-26 09:48:58 +00:00
|
|
|
android:paddingStart="@dimen/activity_horizontal_margin"
|
2015-10-24 18:01:55 +00:00
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
|
tools:context=".ActivityMain">
|
|
|
|
|
2016-01-31 10:04:55 +00:00
|
|
|
<LinearLayout
|
2015-10-29 16:33:06 +00:00
|
|
|
android:layout_width="match_parent"
|
2016-01-31 10:04:55 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2015-10-29 16:33:06 +00:00
|
|
|
|
2016-01-31 10:04:55 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvDisabled"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:text="@string/msg_disabled"
|
2016-01-31 15:16:24 +00:00
|
|
|
android:textAppearance="@style/TextMedium"
|
2016-01-31 10:04:55 +00:00
|
|
|
android:textColor="?attr/colorOff"
|
|
|
|
android:visibility="gone" />
|
2015-10-31 13:15:26 +00:00
|
|
|
|
2016-07-24 18:13:26 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/llUsage"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/msg_usage"
|
|
|
|
android:textAppearance="@style/TextSmall" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnUsage"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:text="@android:string/ok"
|
|
|
|
android:textAppearance="@style/TextSmall" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2018-11-17 16:32:36 +00:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
2016-01-31 10:04:55 +00:00
|
|
|
android:id="@+id/swipeRefresh"
|
2015-10-31 13:15:26 +00:00
|
|
|
android:layout_width="match_parent"
|
2016-04-11 12:54:57 +00:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1">
|
2016-01-31 10:04:55 +00:00
|
|
|
|
2018-11-17 16:32:36 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2016-01-31 10:04:55 +00:00
|
|
|
android:id="@+id/rvApplication"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scrollbarStyle="insideOverlay"
|
|
|
|
android:scrollbars="vertical" />
|
2018-11-17 16:32:36 +00:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2016-04-11 12:54:57 +00:00
|
|
|
|
2016-06-27 08:18:39 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/llWhitelist"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
2016-07-24 18:13:26 +00:00
|
|
|
android:padding="8dp"
|
|
|
|
android:visibility="gone">
|
2016-06-27 08:18:39 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/msg_whitelist"
|
|
|
|
android:textAppearance="@style/TextSmall" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnWhitelist"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:text="@android:string/ok"
|
2018-07-10 05:02:43 +00:00
|
|
|
android:textAppearance="@style/TextMedium" />
|
2016-06-27 08:18:39 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
2016-06-27 08:25:48 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/llPush"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
2016-07-24 18:13:26 +00:00
|
|
|
android:padding="8dp"
|
|
|
|
android:visibility="gone">
|
2016-06-27 08:25:48 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/msg_push"
|
|
|
|
android:textAppearance="@style/TextSmall" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnPush"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:text="@android:string/ok"
|
|
|
|
android:textAppearance="@style/TextSmall" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2016-04-11 12:54:57 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/llSystem"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
2016-07-24 18:13:26 +00:00
|
|
|
android:padding="8dp"
|
|
|
|
android:visibility="gone">
|
2016-04-11 12:54:57 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/msg_system"
|
|
|
|
android:textAppearance="@style/TextSmall" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnSystem"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:text="@android:string/ok"
|
|
|
|
android:textAppearance="@style/TextSmall" />
|
|
|
|
</LinearLayout>
|
2018-07-08 07:56:55 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/llSupport"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dip"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="2dip"
|
|
|
|
android:background="@android:color/darker_gray" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-07-10 05:02:43 +00:00
|
|
|
android:layout_margin="4dp"
|
2018-07-08 07:56:55 +00:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="32dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:src="@drawable/ic_security_color_24dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvSupport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginStart="4dp"
|
2018-07-10 05:02:43 +00:00
|
|
|
android:text="@string/app_support"
|
2018-07-08 07:56:55 +00:00
|
|
|
android:textAppearance="@style/TextSmall"
|
2018-07-10 05:02:43 +00:00
|
|
|
android:textColor="?attr/colorOff"
|
|
|
|
android:textStyle="bold" />
|
2018-07-08 07:56:55 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2016-01-31 10:04:55 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/vwPopupAnchor"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2016-02-23 08:40:01 +00:00
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true" />
|
2016-01-31 10:04:55 +00:00
|
|
|
</RelativeLayout>
|