mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-02 06:25:25 +00:00
214 lines
7.8 KiB
XML
214 lines
7.8 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:layout_marginTop="?attr/actionBarSize">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<android.support.v7.widget.CardView
|
||
|
android:id="@+id/rootSwitchView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:elevation="2dp"
|
||
|
app:cardCornerRadius="0dp">
|
||
|
|
||
|
<Switch
|
||
|
android:id="@+id/root_toggle"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="12dp"
|
||
|
android:checked="true"
|
||
|
android:text="@string/root_toggle"
|
||
|
android:textSize="16sp"/>
|
||
|
|
||
|
</android.support.v7.widget.CardView>
|
||
|
|
||
|
<android.support.v7.widget.CardView
|
||
|
android:id="@+id/selinuxSwitchView"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="1dp"
|
||
|
android:elevation="2dp"
|
||
|
app:cardCornerRadius="0dp">
|
||
|
|
||
|
<Switch
|
||
|
android:id="@+id/selinux_toggle"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="12dp"
|
||
|
android:checked="true"
|
||
|
android:text="@string/selinux_toggle"
|
||
|
android:textSize="16sp"/>
|
||
|
|
||
|
</android.support.v7.widget.CardView>
|
||
|
|
||
|
<android.support.v7.widget.CardView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="4dp"
|
||
|
android:layout_marginLeft="5dip"
|
||
|
android:layout_marginRight="5dip"
|
||
|
android:layout_marginTop="6dp"
|
||
|
app:cardUseCompatPadding="true">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/magisk_status_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="100dp"
|
||
|
android:foregroundGravity="center"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/magisk_status_icon"
|
||
|
android:layout_width="84dp"
|
||
|
android:layout_height="84dp"
|
||
|
android:layout_gravity="center"/>
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/magisk_version"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:gravity="center"
|
||
|
android:padding="6dp"
|
||
|
android:textStyle="bold"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</android.support.v7.widget.CardView>
|
||
|
|
||
|
<android.support.v7.widget.CardView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="4dp"
|
||
|
android:layout_marginLeft="5dip"
|
||
|
android:layout_marginRight="5dip"
|
||
|
android:layout_marginTop="6dp"
|
||
|
app:cardUseCompatPadding="true">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/root_status_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="100dp"
|
||
|
android:foregroundGravity="center"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/root_status_icon"
|
||
|
android:layout_width="84dp"
|
||
|
android:layout_height="84dp"
|
||
|
android:layout_gravity="center"/>
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/root_status"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:gravity="center"
|
||
|
android:padding="6dp"
|
||
|
android:textStyle="bold"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</android.support.v7.widget.CardView>
|
||
|
|
||
|
<android.support.v7.widget.CardView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="4dp"
|
||
|
android:layout_marginLeft="5dip"
|
||
|
android:layout_marginRight="5dip"
|
||
|
android:layout_marginTop="6dp"
|
||
|
app:cardUseCompatPadding="true">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal"
|
||
|
android:padding="4dp">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/safety_net_icon"
|
||
|
android:layout_width="48dp"
|
||
|
android:layout_height="48dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:tint="#757575"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/safety_net_status"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:padding="6dp"
|
||
|
android:textStyle="bold"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</android.support.v7.widget.CardView>
|
||
|
|
||
|
<android.support.v7.widget.CardView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="4dp"
|
||
|
android:layout_marginLeft="5dip"
|
||
|
android:layout_marginRight="5dip"
|
||
|
android:layout_marginTop="6dp"
|
||
|
app:cardUseCompatPadding="true">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/selinux_status_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="100dp"
|
||
|
android:foregroundGravity="center"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/selinux_status_icon"
|
||
|
android:layout_width="84dp"
|
||
|
android:layout_height="84dp"
|
||
|
android:layout_gravity="center"/>
|
||
|
|
||
|
</FrameLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/selinux_status"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center"
|
||
|
android:gravity="center"
|
||
|
android:padding="6dp"
|
||
|
android:textStyle="bold"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</android.support.v7.widget.CardView>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</ScrollView>
|