2019-10-17 16:57:00 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-10-23 19:17:53 +00:00
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2019-10-17 16:57:00 +00:00
|
|
|
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<variable
|
|
|
|
name="viewModel"
|
|
|
|
type="com.topjohnwu.magisk.redesign.safetynet.SafetynetViewModel" />
|
|
|
|
|
|
|
|
</data>
|
|
|
|
|
2019-10-23 19:17:53 +00:00
|
|
|
<FrameLayout
|
2019-10-17 16:57:00 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fillViewport="true">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-10-23 19:17:53 +00:00
|
|
|
android:layout_height="match_parent">
|
2019-10-17 16:57:00 +00:00
|
|
|
|
2019-10-23 19:17:53 +00:00
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
style="?styleButtonText"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:onClick="@{() -> viewModel.attest()}"
|
|
|
|
android:text="Attest"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
app:icon="@drawable/ic_test"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?colorPrimary">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|
2019-10-17 16:57:00 +00:00
|
|
|
|
|
|
|
</layout>
|