Loading res/layout/face_enroll_education.xml +8 −6 Original line number Diff line number Diff line Loading @@ -40,16 +40,14 @@ android:textAlignment="center" android:text="@string/security_settings_face_enroll_education_message"/> <com.google.android.setupdesign.view.RichTextView android:id="@+id/error_text" style="@style/SudDescription.Glif" android:layout_width="match_parent" android:layout_height="wrap_content"/> <Space android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"/> <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginVertical="48dp"> android:layout_marginVertical="12dp"> <com.google.android.setupdesign.view.IllustrationVideoView android:id="@+id/illustration_normal" Loading @@ -68,6 +66,10 @@ </FrameLayout> <Space android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"/> <!-- Contains the buttons and extra information text at the bottom --> <LinearLayout android:layout_width="match_parent" Loading res/layout/face_enroll_introduction.xml +7 −13 Original line number Diff line number Diff line Loading @@ -43,12 +43,13 @@ android:id="@+id/error_text" style="@style/SudDescription.Glif" android:layout_width="match_parent" android:layout_height="wrap_content"/> android:layout_height="wrap_content" android:visibility="gone"/> <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginVertical="48dp"> android:layout_marginVertical="12dp"> <com.google.android.setupdesign.view.IllustrationVideoView android:id="@+id/illustration_normal" Loading @@ -69,10 +70,7 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingStart="16dp" android:paddingEnd="16dp" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:layout_width="wrap_content" Loading @@ -80,7 +78,7 @@ android:background="@drawable/ic_face_enroll_introduction_shield"> </ImageView> <Space android:layout_width="8dp" android:layout_width="24dp" android:layout_height="wrap_content"/> <TextView android:layout_width="match_parent" Loading @@ -93,8 +91,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingStart="16dp" android:paddingEnd="16dp" android:paddingTop="24dp"> <ImageView Loading @@ -103,7 +99,7 @@ android:background="@drawable/ic_face_enroll_introduction_visibility"> </ImageView> <Space android:layout_width="8dp" android:layout_width="24dp" android:layout_height="wrap_content"/> <TextView android:layout_width="match_parent" Loading @@ -116,8 +112,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingStart="16dp" android:paddingEnd="16dp" android:paddingTop="24dp"> <ImageView Loading @@ -126,7 +120,7 @@ android:background="@drawable/ic_face_enroll_introduction_people"> </ImageView> <Space android:layout_width="8dp" android:layout_width="24dp" android:layout_height="wrap_content"/> <TextView android:layout_width="match_parent" Loading src/com/android/settings/biometrics/BiometricEnrollIntroduction.java +2 −0 Original line number Diff line number Diff line Loading @@ -164,9 +164,11 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase final int errorMsg = checkMaxEnrolled(); if (errorMsg == 0) { mErrorText.setText(null); mErrorText.setVisibility(View.GONE); getNextButton().setVisibility(View.VISIBLE); } else { mErrorText.setText(errorMsg); mErrorText.setVisibility(View.VISIBLE); getNextButton().setText(getResources().getString(R.string.done)); getNextButton().setVisibility(View.VISIBLE); } Loading Loading
res/layout/face_enroll_education.xml +8 −6 Original line number Diff line number Diff line Loading @@ -40,16 +40,14 @@ android:textAlignment="center" android:text="@string/security_settings_face_enroll_education_message"/> <com.google.android.setupdesign.view.RichTextView android:id="@+id/error_text" style="@style/SudDescription.Glif" android:layout_width="match_parent" android:layout_height="wrap_content"/> <Space android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"/> <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginVertical="48dp"> android:layout_marginVertical="12dp"> <com.google.android.setupdesign.view.IllustrationVideoView android:id="@+id/illustration_normal" Loading @@ -68,6 +66,10 @@ </FrameLayout> <Space android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"/> <!-- Contains the buttons and extra information text at the bottom --> <LinearLayout android:layout_width="match_parent" Loading
res/layout/face_enroll_introduction.xml +7 −13 Original line number Diff line number Diff line Loading @@ -43,12 +43,13 @@ android:id="@+id/error_text" style="@style/SudDescription.Glif" android:layout_width="match_parent" android:layout_height="wrap_content"/> android:layout_height="wrap_content" android:visibility="gone"/> <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginVertical="48dp"> android:layout_marginVertical="12dp"> <com.google.android.setupdesign.view.IllustrationVideoView android:id="@+id/illustration_normal" Loading @@ -69,10 +70,7 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingStart="16dp" android:paddingEnd="16dp" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:layout_width="wrap_content" Loading @@ -80,7 +78,7 @@ android:background="@drawable/ic_face_enroll_introduction_shield"> </ImageView> <Space android:layout_width="8dp" android:layout_width="24dp" android:layout_height="wrap_content"/> <TextView android:layout_width="match_parent" Loading @@ -93,8 +91,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingStart="16dp" android:paddingEnd="16dp" android:paddingTop="24dp"> <ImageView Loading @@ -103,7 +99,7 @@ android:background="@drawable/ic_face_enroll_introduction_visibility"> </ImageView> <Space android:layout_width="8dp" android:layout_width="24dp" android:layout_height="wrap_content"/> <TextView android:layout_width="match_parent" Loading @@ -116,8 +112,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingStart="16dp" android:paddingEnd="16dp" android:paddingTop="24dp"> <ImageView Loading @@ -126,7 +120,7 @@ android:background="@drawable/ic_face_enroll_introduction_people"> </ImageView> <Space android:layout_width="8dp" android:layout_width="24dp" android:layout_height="wrap_content"/> <TextView android:layout_width="match_parent" Loading
src/com/android/settings/biometrics/BiometricEnrollIntroduction.java +2 −0 Original line number Diff line number Diff line Loading @@ -164,9 +164,11 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase final int errorMsg = checkMaxEnrolled(); if (errorMsg == 0) { mErrorText.setText(null); mErrorText.setVisibility(View.GONE); getNextButton().setVisibility(View.VISIBLE); } else { mErrorText.setText(errorMsg); mErrorText.setVisibility(View.VISIBLE); getNextButton().setText(getResources().getString(R.string.done)); getNextButton().setVisibility(View.VISIBLE); } Loading