2016-12-24 19:05:22 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-01-30 19:39:24 +00:00
|
|
|
<ScrollView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2016-12-24 19:05:22 +00:00
|
|
|
android:layout_width="match_parent"
|
2016-12-25 09:17:20 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="?attr/actionBarSize"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
<LinearLayout
|
2016-12-25 09:17:20 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-01-30 19:39:24 +00:00
|
|
|
android:orientation="vertical">
|
2016-12-25 09:17:20 +00:00
|
|
|
|
2016-12-25 14:36:51 +00:00
|
|
|
<android.support.v7.widget.CardView
|
2017-01-30 19:39:24 +00:00
|
|
|
android:id="@+id/install_info_card"
|
|
|
|
android:layout_width="match_parent"
|
2016-12-25 14:36:51 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
style="?attr/cardStyle"
|
2017-01-30 19:39:24 +00:00
|
|
|
app:cardUseCompatPadding="true">
|
2016-12-25 09:17:20 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
2016-12-25 14:36:51 +00:00
|
|
|
android:orientation="vertical"
|
2016-12-25 09:17:20 +00:00
|
|
|
android:layout_width="match_parent"
|
2016-12-25 14:36:51 +00:00
|
|
|
android:layout_height="match_parent"
|
2017-01-30 19:39:24 +00:00
|
|
|
android:padding="5dp">
|
2016-12-25 09:17:20 +00:00
|
|
|
|
2016-12-25 14:36:51 +00:00
|
|
|
<TextView
|
2017-01-30 19:39:24 +00:00
|
|
|
android:id="@+id/install_title"
|
2016-12-25 14:36:51 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center"
|
2017-01-30 19:39:24 +00:00
|
|
|
android:padding="5dp"
|
2016-12-25 14:36:51 +00:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/current_version_title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:maxWidth="400dp"
|
|
|
|
android:minWidth="400dp">
|
|
|
|
|
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
android:id="@+id/bootimage_card"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
style="?attr/cardStyle"
|
|
|
|
app:cardUseCompatPadding="true"
|
|
|
|
android:layout_width="match_parent">
|
|
|
|
|
2016-12-25 14:36:51 +00:00
|
|
|
<LinearLayout
|
2017-01-30 19:39:24 +00:00
|
|
|
android:orientation="vertical"
|
2016-12-25 14:36:51 +00:00
|
|
|
android:layout_width="match_parent"
|
2016-12-25 09:17:20 +00:00
|
|
|
android:layout_height="match_parent"
|
2017-01-30 19:39:24 +00:00
|
|
|
android:layout_marginTop="15dp"
|
|
|
|
android:layout_marginBottom="15dp">
|
2016-12-25 14:36:51 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:text="@string/boot_image_title"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
2016-12-25 14:36:51 +00:00
|
|
|
android:layout_height="match_parent"
|
2017-01-30 19:39:24 +00:00
|
|
|
android:layout_marginEnd="15dp"
|
|
|
|
android:layout_marginStart="15dp">
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/block_spinner"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:text="@string/detect_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/detect_bootimage"/>
|
|
|
|
</LinearLayout>
|
2016-12-25 14:36:51 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
2016-12-25 09:17:20 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
</android.support.v7.widget.CardView>
|
2016-12-25 09:17:20 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
android:id="@+id/install_option_card"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
style="?attr/cardStyle"
|
|
|
|
app:cardUseCompatPadding="true"
|
|
|
|
android:layout_width="match_parent">
|
2016-12-25 09:17:20 +00:00
|
|
|
|
2016-12-25 14:36:51 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
2016-12-25 14:36:51 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-01-30 19:39:24 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="15dp"
|
|
|
|
android:layout_marginBottom="15dp">
|
2016-12-25 09:17:20 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
<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:text="@string/keep_force_encryption"
|
|
|
|
android:id="@+id/keep_force_enc"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="25dp"
|
|
|
|
android:layout_marginStart="25dp" />
|
2016-12-25 09:17:20 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
<CheckBox
|
|
|
|
android:text="@string/keep_dm_verity"
|
|
|
|
android:id="@+id/keep_verity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="25dp"
|
|
|
|
android:layout_marginStart="25dp" />
|
2016-12-25 09:17:20 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
2016-12-26 09:15:46 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
android:id="@+id/flash_button"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
style="?attr/cardStyle"
|
|
|
|
app:cardUseCompatPadding="true"
|
2016-12-26 09:15:46 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-01-30 19:39:24 +00:00
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
android:clickable="true">
|
2016-12-26 09:15:46 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
2016-12-26 09:15:46 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-01-30 19:39:24 +00:00
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginEnd="25dp"
|
|
|
|
android:layout_marginStart="25dp">
|
2016-12-26 09:15:46 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:srcCompat="@mipmap/ic_launcher"
|
|
|
|
android:id="@+id/imageView"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:layout_marginEnd="20dp"/>
|
2016-12-26 09:15:46 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:text="@string/magiskify"
|
|
|
|
android:ems="10"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:fontFamily="sans-serif" />
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:layout_marginStart="20dp">
|
2016-12-26 09:15:46 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|
2016-12-26 09:15:46 +00:00
|
|
|
|
2017-02-05 19:19:41 +00:00
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
android:id="@+id/uninstall_button"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
style="?attr/cardStyle"
|
|
|
|
app:cardUseCompatPadding="true"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
android:clickable="true">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/uninstall"
|
|
|
|
android:ems="10"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:fontFamily="sans-serif" />
|
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
2016-12-26 09:15:46 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
2016-12-25 14:36:51 +00:00
|
|
|
</LinearLayout>
|
2016-12-24 19:05:22 +00:00
|
|
|
|
2017-01-30 19:39:24 +00:00
|
|
|
|
|
|
|
</ScrollView>
|