From 397f7326a312a6e9a8a1d26c82e9f7e4562f6bca Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 30 Jun 2020 03:56:41 -0700 Subject: [PATCH] Update SafetyNet UI to show evalType --- .../magisk/ui/safetynet/SafetynetFragment.kt | 13 ++ .../magisk/ui/safetynet/SafetynetViewModel.kt | 5 + .../res/layout/fragment_safetynet_md2.xml | 215 +++++++----------- 3 files changed, 99 insertions(+), 134 deletions(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/ui/safetynet/SafetynetFragment.kt b/app/src/main/java/com/topjohnwu/magisk/ui/safetynet/SafetynetFragment.kt index 46538f1aa..e2524e5a5 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ui/safetynet/SafetynetFragment.kt +++ b/app/src/main/java/com/topjohnwu/magisk/ui/safetynet/SafetynetFragment.kt @@ -1,5 +1,9 @@ package com.topjohnwu.magisk.ui.safetynet +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup import com.topjohnwu.magisk.R import com.topjohnwu.magisk.databinding.FragmentSafetynetMd2Binding import com.topjohnwu.magisk.ui.base.BaseUIFragment @@ -15,4 +19,13 @@ class SafetynetFragment : BaseUIFragment - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + app:srcCompat="@drawable/ic_check_circle_md2" + app:layout_constraintStart_toEndOf="@id/snet_barrier" + app:layout_constraintTop_toTopOf="@id/basic_text" + app:layout_constraintBottom_toBottomOf="@id/basic_text"/> + + + + + + + + + +