2016-08-23 09:39:18 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-09-28 10:05:55 +00:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/swipeRefreshLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginTop="?attr/actionBarSize"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2017-01-26 19:32:15 +00:00
|
|
|
<ScrollView
|
2016-09-30 10:22:43 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginTop="?attr/actionBarSize"
|
|
|
|
android:orientation="vertical">
|
2016-08-23 09:39:18 +00:00
|
|
|
|
2016-09-28 10:05:55 +00:00
|
|
|
<LinearLayout
|
2016-08-23 09:39:18 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-09-28 10:05:55 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<android.support.v7.widget.CardView
|
2017-05-19 19:04:14 +00:00
|
|
|
style="?attr/cardStyle"
|
2016-08-23 09:39:18 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-09-28 10:05:55 +00:00
|
|
|
android:layout_marginBottom="4dp"
|
2017-05-21 04:16:38 +00:00
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:layout_marginStart="5dp"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:layout_marginTop="4dp"
|
2017-05-21 04:16:38 +00:00
|
|
|
app:cardCornerRadius="@dimen/card_corner_radius"
|
|
|
|
app:cardElevation="@dimen/card_elevation">
|
2016-09-28 10:05:55 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
2016-08-23 09:39:18 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-05-19 15:37:57 +00:00
|
|
|
android:layout_height="match_parent"
|
2017-11-14 16:38:38 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingBottom="7dp"
|
|
|
|
android:paddingTop="7dp">
|
2016-08-23 09:39:18 +00:00
|
|
|
|
2017-05-19 19:04:14 +00:00
|
|
|
<RelativeLayout
|
2017-11-08 17:11:50 +00:00
|
|
|
android:id="@+id/magisk_update"
|
|
|
|
android:layout_width="match_parent"
|
2017-11-14 16:38:38 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginTop="5dp">
|
2017-05-19 15:37:57 +00:00
|
|
|
|
2017-05-19 19:04:14 +00:00
|
|
|
<ImageView
|
2017-11-08 17:11:50 +00:00
|
|
|
android:id="@+id/magisk_update_icon"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:layout_width="25dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_centerVertical="true"
|
2017-11-08 17:11:50 +00:00
|
|
|
android:layout_toStartOf="@+id/magisk_update_status"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/magisk_update_progress"
|
|
|
|
android:layout_width="25dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_toStartOf="@+id/magisk_update_status" />
|
2017-05-19 19:04:14 +00:00
|
|
|
|
|
|
|
<TextView
|
2017-11-08 17:11:50 +00:00
|
|
|
android:id="@+id/magisk_update_status"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:minWidth="225dp"
|
|
|
|
android:padding="6dp"
|
2017-11-08 17:11:50 +00:00
|
|
|
android:text="@string/checking_for_updates"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:textStyle="bold" />
|
2017-05-19 15:37:57 +00:00
|
|
|
|
2017-05-19 19:04:14 +00:00
|
|
|
</RelativeLayout>
|
2016-09-28 10:05:55 +00:00
|
|
|
|
2017-05-19 19:04:14 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-11-14 16:38:38 +00:00
|
|
|
android:layout_marginBottom="5dp"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:orientation="horizontal">
|
2016-09-28 10:05:55 +00:00
|
|
|
|
2017-05-19 19:04:14 +00:00
|
|
|
<ImageView
|
2017-11-08 17:11:50 +00:00
|
|
|
android:id="@+id/magisk_status_icon"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:layout_width="25dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_centerVertical="true"
|
2017-11-08 17:11:50 +00:00
|
|
|
android:layout_toStartOf="@+id/magisk_version" />
|
2017-05-19 19:04:14 +00:00
|
|
|
|
|
|
|
<TextView
|
2017-11-08 17:11:50 +00:00
|
|
|
android:id="@+id/magisk_version"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:minWidth="225dp"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:textStyle="bold" />
|
2016-09-28 10:05:55 +00:00
|
|
|
|
2017-11-08 17:11:50 +00:00
|
|
|
|
2017-05-19 19:04:14 +00:00
|
|
|
</RelativeLayout>
|
2016-08-23 09:39:18 +00:00
|
|
|
|
2016-09-28 10:05:55 +00:00
|
|
|
</LinearLayout>
|
2016-08-23 09:39:18 +00:00
|
|
|
|
2016-09-28 10:05:55 +00:00
|
|
|
</android.support.v7.widget.CardView>
|
2016-08-23 09:39:18 +00:00
|
|
|
|
2016-09-28 10:05:55 +00:00
|
|
|
<android.support.v7.widget.CardView
|
2017-05-23 08:51:23 +00:00
|
|
|
android:id="@+id/safetyNet_card"
|
2017-05-19 19:04:14 +00:00
|
|
|
style="?attr/cardStyle"
|
2016-08-23 09:39:18 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-05-21 04:16:38 +00:00
|
|
|
android:layout_height="wrap_content"
|
2016-09-28 10:05:55 +00:00
|
|
|
android:layout_marginBottom="4dp"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:layout_marginEnd="5dp"
|
2017-05-21 04:16:38 +00:00
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginTop="4dp"
|
2017-05-19 19:04:14 +00:00
|
|
|
app:cardCornerRadius="@dimen/card_corner_radius"
|
|
|
|
app:cardElevation="@dimen/card_elevation">
|
2016-09-28 10:05:55 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
2016-08-23 09:39:18 +00:00
|
|
|
android:layout_width="match_parent"
|
2016-09-28 10:05:55 +00:00
|
|
|
android:layout_height="wrap_content"
|
2016-08-23 09:39:18 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
2017-05-19 19:04:14 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/safetyNet_title"
|
2016-09-28 10:05:55 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:layout_height="match_parent">
|
2016-09-28 10:05:55 +00:00
|
|
|
|
|
|
|
<ImageView
|
2017-05-19 19:04:14 +00:00
|
|
|
android:id="@+id/safetyNet_refresh"
|
|
|
|
android:layout_width="25dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_margin="15dp"
|
|
|
|
android:layout_toStartOf="@+id/safetyNet_status"
|
2017-10-17 10:18:54 +00:00
|
|
|
android:src="@drawable/ic_refresh" />
|
2016-09-28 10:05:55 +00:00
|
|
|
|
|
|
|
<ProgressBar
|
2016-12-24 19:05:22 +00:00
|
|
|
android:id="@+id/safetyNet_check_progress"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:layout_width="25dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_margin="15dp"
|
|
|
|
android:layout_toStartOf="@+id/safetyNet_status"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/safetyNet_status"
|
2016-09-28 10:05:55 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:minWidth="175dp"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:text="@string/safetyNet_check_text"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/expand_layout"
|
2016-09-28 10:05:55 +00:00
|
|
|
android:layout_width="match_parent"
|
2016-08-26 10:45:35 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-05-19 19:04:14 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
android:paddingStart="10dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/cts_status_icon"
|
|
|
|
android:layout_width="25dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginTop="5dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/cts_status"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:minWidth="150dp"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/basic_status_icon"
|
|
|
|
android:layout_width="25dp"
|
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_margin="10dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/basic_status"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:minWidth="150dp"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2016-08-23 09:39:18 +00:00
|
|
|
|
2016-09-28 10:05:55 +00:00
|
|
|
</LinearLayout>
|
2016-08-23 09:39:18 +00:00
|
|
|
|
2016-09-28 10:05:55 +00:00
|
|
|
</android.support.v7.widget.CardView>
|
2016-08-23 09:39:18 +00:00
|
|
|
|
2017-05-21 04:16:38 +00:00
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
android:id="@+id/install_option_card"
|
|
|
|
style="?attr/cardStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:cardCornerRadius="@dimen/card_corner_radius"
|
|
|
|
app:cardElevation="@dimen/card_elevation">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginBottom="15dp"
|
|
|
|
android:layout_marginTop="15dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:text="@string/advanced_settings_title"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/keep_force_enc"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="50dp"
|
|
|
|
android:layout_marginStart="50dp"
|
|
|
|
android:text="@string/keep_force_encryption" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/keep_verity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="50dp"
|
|
|
|
android:layout_marginStart="50dp"
|
|
|
|
android:text="@string/keep_dm_verity" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
android:id="@+id/install_button"
|
|
|
|
style="?attr/cardStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:clickable="true"
|
2017-11-17 03:49:20 +00:00
|
|
|
android:focusable="true"
|
2017-05-21 04:16:38 +00:00
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
2017-09-06 08:28:24 +00:00
|
|
|
android:visibility="gone"
|
2017-05-21 04:16:38 +00:00
|
|
|
app:cardCornerRadius="@dimen/card_corner_radius"
|
|
|
|
app:cardElevation="@dimen/card_elevation">
|
|
|
|
|
2017-11-17 03:49:20 +00:00
|
|
|
<RelativeLayout
|
2017-05-21 04:16:38 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-11-17 03:49:20 +00:00
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_marginEnd="40dp"
|
|
|
|
android:layout_marginStart="40dp"
|
|
|
|
android:layout_marginTop="10dp"
|
2017-05-21 04:16:38 +00:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imageView"
|
|
|
|
android:layout_width="50dp"
|
2017-11-17 03:49:20 +00:00
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_centerVertical="true"
|
2017-09-05 09:43:13 +00:00
|
|
|
android:layout_marginEnd="5dp"
|
2017-11-17 03:49:20 +00:00
|
|
|
app:srcCompat="@mipmap/ic_launcher_round" />
|
2017-05-21 04:16:38 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/install_text"
|
2017-11-20 18:11:20 +00:00
|
|
|
android:layout_width="180dp"
|
2017-05-21 04:16:38 +00:00
|
|
|
android:layout_height="match_parent"
|
2017-11-17 03:49:20 +00:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_centerVertical="true"
|
2017-05-21 04:16:38 +00:00
|
|
|
android:ems="10"
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
android:gravity="center"
|
2017-09-02 16:17:42 +00:00
|
|
|
android:text="@string/install"
|
2017-05-21 04:16:38 +00:00
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
2017-11-17 03:49:20 +00:00
|
|
|
</RelativeLayout>
|
2017-05-21 04:16:38 +00:00
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
android:id="@+id/uninstall_button"
|
|
|
|
style="?attr/cardStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:clickable="true"
|
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
app:cardCornerRadius="@dimen/card_corner_radius"
|
2017-11-17 03:49:20 +00:00
|
|
|
app:cardElevation="@dimen/card_elevation"
|
|
|
|
android:focusable="true">
|
2017-05-21 04:16:38 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:ems="10"
|
|
|
|
android:fontFamily="sans-serif"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/uninstall"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
2016-09-28 10:05:55 +00:00
|
|
|
</LinearLayout>
|
2016-08-27 19:52:03 +00:00
|
|
|
|
2016-09-28 10:05:55 +00:00
|
|
|
</ScrollView>
|
2016-08-23 09:39:18 +00:00
|
|
|
|
2016-09-28 10:05:55 +00:00
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|