mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-01 22:15:40 +00:00
59 lines
2.1 KiB
XML
59 lines
2.1 KiB
XML
<?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.core.Info" />
|
|
|
|
</data>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clipToPadding="false">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:layout_gravity="center">
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
|
style="@style/WidgetFoundation.Checkbox"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="start|center_vertical"
|
|
android:checked="@={Info.keepVerity}"
|
|
android:gravity="center"
|
|
android:text="@string/keep_dm_verity"
|
|
tools:checked="true" />
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
|
style="@style/WidgetFoundation.Checkbox"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="start|center_vertical"
|
|
android:checked="@={Info.keepEnc}"
|
|
android:gravity="center"
|
|
android:text="@string/keep_force_encryption"
|
|
app:tint="?colorPrimary" />
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
|
style="@style/WidgetFoundation.Checkbox"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="start|center_vertical"
|
|
android:checked="@={Info.recovery}"
|
|
android:gravity="center"
|
|
android:text="@string/recovery_mode"
|
|
app:tint="?colorPrimary" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
|
|
</layout>
|