Magisk/app/src/main/res/layout/include_install_options.xml

58 lines
2.1 KiB
XML
Raw Normal View History

<?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">
<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="?styleCheckboxNormal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-10-22 18:46:09 +00:00
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="?styleCheckboxNormal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-10-22 18:46:09 +00:00
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="?styleCheckboxNormal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-10-22 18:46:09 +00:00
android:layout_gravity="start|center_vertical"
android:checked="@={Info.recovery}"
android:gravity="center"
android:text="@string/recovery_mode"
app:tint="?colorPrimary" />
</LinearLayout>
</ScrollView>
</layout>