2019-10-19 20:14:23 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<layout 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">
|
|
|
|
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<import type="com.topjohnwu.magisk.Info" />
|
|
|
|
|
|
|
|
</data>
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-22 18:46:09 +00:00
|
|
|
android:clipToPadding="false">
|
2019-10-19 20:14:23 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:layout_gravity="center">
|
|
|
|
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
2019-11-22 18:29:53 +00:00
|
|
|
style="@style/WidgetFoundation.Checkbox"
|
2019-10-19 20:14:23 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-22 18:46:09 +00:00
|
|
|
android:layout_gravity="start|center_vertical"
|
2019-10-19 20:14:23 +00:00
|
|
|
android:checked="@={Info.keepVerity}"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/keep_dm_verity"
|
|
|
|
tools:checked="true" />
|
|
|
|
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
2019-11-22 18:29:53 +00:00
|
|
|
style="@style/WidgetFoundation.Checkbox"
|
2019-10-19 20:14:23 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-22 18:46:09 +00:00
|
|
|
android:layout_gravity="start|center_vertical"
|
2019-10-19 20:14:23 +00:00
|
|
|
android:checked="@={Info.keepEnc}"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/keep_force_encryption"
|
|
|
|
app:tint="?colorPrimary" />
|
|
|
|
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
2019-11-22 18:29:53 +00:00
|
|
|
style="@style/WidgetFoundation.Checkbox"
|
2019-10-19 20:14:23 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-22 18:46:09 +00:00
|
|
|
android:layout_gravity="start|center_vertical"
|
2019-10-19 20:14:23 +00:00
|
|
|
android:checked="@={Info.recovery}"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/recovery_mode"
|
|
|
|
app:tint="?colorPrimary" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
|
|
|
|
</layout>
|