From bf906b8a6cc81423edf681efe2218e1689816855 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 19 Sep 2020 00:07:41 +0800 Subject: Hide Security option if no biometric authentication available. Require biometric authentication when going into security settings. --- app/src/main/res/layout/dialog_select_header.xml | 48 ++++++++++++++---------- 1 file changed, 29 insertions(+), 19 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/dialog_select_header.xml b/app/src/main/res/layout/dialog_select_header.xml index 14c68249..31d49a9f 100644 --- a/app/src/main/res/layout/dialog_select_header.xml +++ b/app/src/main/res/layout/dialog_select_header.xml @@ -1,37 +1,47 @@ - - - - + android:valueFrom="1" + android:valueTo="6" + android:stepSize="1" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" /> + + + android:fontFamily="?attr/font_family" + app:layout_constraintTop_toBottomOf="@+id/seek_bar_dialog_select_header" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintBottom_toBottomOf="parent" /> - \ No newline at end of file + \ No newline at end of file -- cgit v1.2.3