Loading res/layout/face_enroll_introduction.xml +13 −40 Original line number Diff line number Diff line Loading @@ -43,9 +43,7 @@ <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="-24dp" android:layout_marginBottom="4dp"> android:layout_height="wrap_content"> <ImageView style="@style/SudContentIllustration" Loading @@ -66,15 +64,13 @@ <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/security_settings_face_enroll_introduction_info_title" android:textColor="?android:attr/textColorPrimary" android:textSize="20sp"/> style="@style/BiometricEnrollIntroTitle" android:text="@string/security_settings_face_enroll_introduction_info_title" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_glasses" Loading @@ -88,15 +84,13 @@ android:id="@+id/info_message_glasses" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_looking" Loading @@ -110,56 +104,35 @@ android:id="@+id/info_message_looking" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <Space android:layout_width="match_parent" android:layout_height="40dp"/> <!-- How it works --> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/security_settings_face_enroll_introduction_how_title" android:textColor="?android:attr/textColorPrimary" android:textAppearance="?android:attr/textAppearanceMedium" android:textSize="20sp"/> <Space android:layout_width="match_parent" android:layout_height="24dp"/> style="@style/BiometricEnrollIntroTitle" android:text="@string/security_settings_face_enroll_introduction_how_title" /> <TextView android:id="@+id/how_message" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> <Space android:layout_width="match_parent" android:layout_height="24dp"/> style="@style/BiometricEnrollIntroMessage" /> <!-- You're in control --> <TextView android:id="@+id/title_in_control" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="20sp"/> <Space android:layout_width="match_parent" android:layout_height="24dp"/> style="@style/BiometricEnrollIntroTitle" /> <TextView android:id="@+id/message_in_control" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" android:paddingBottom="0dp" /> </LinearLayout> Loading res/layout/fingerprint_enroll_introduction.xml +18 −39 Original line number Diff line number Diff line Loading @@ -42,8 +42,7 @@ <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginVertical="12dp"> android:layout_height="wrap_content"> <ImageView style="@style/SudContentIllustration" Loading @@ -64,15 +63,13 @@ <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_title_2" android:textColor="?android:attr/textColorPrimary" android:textSize="20sp"/> style="@style/BiometricEnrollIntroTitle" android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_title_2" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_fingerprint" Loading @@ -87,15 +84,13 @@ android:id="@+id/footer_message_2" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_device_locked" Loading @@ -110,27 +105,20 @@ android:id="@+id/footer_message_3" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <Space android:layout_width="match_parent" android:layout_height="24dp"/> <!-- You're in control --> <TextView android:id="@+id/footer_title_1" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="20sp"/> style="@style/BiometricEnrollIntroTitle" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_trash_can" Loading @@ -145,28 +133,21 @@ android:id="@+id/footer_message_4" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <Space android:layout_width="match_parent" android:layout_height="24dp"/> <!-- Keep in mind --> <TextView android:id="@+id/footer_title_2" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/security_settings_face_enroll_introduction_info_title" android:textColor="?android:attr/textColorPrimary" android:textSize="20sp"/> style="@style/BiometricEnrollIntroTitle" android:text="@string/security_settings_face_enroll_introduction_info_title"/> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_info" Loading @@ -181,15 +162,13 @@ android:id="@+id/footer_message_5" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_link" Loading @@ -203,9 +182,9 @@ <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/security_settings_fingerprint_v2_enroll_introduction_message_learn_more" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" android:paddingBottom="0dp" android:text="@string/security_settings_fingerprint_v2_enroll_introduction_message_learn_more" /> </LinearLayout> </LinearLayout> Loading res/values/styles.xml +14 −0 Original line number Diff line number Diff line Loading @@ -398,6 +398,20 @@ <item name="android:lineSpacingMultiplier">1.2</item> </style> <style name="BiometricEnrollIntroTitle"> <item name="android:paddingVertical">24dp</item> <item name="android:textAppearance">?android:attr/textAppearanceMedium</item> <item name="android:textColor">?android:attr/textColorPrimary</item> <item name="android:textSize">20sp</item> </style> <style name="BiometricEnrollIntroMessage"> <item name="android:lineSpacingMultiplier">1.2</item> <item name="android:paddingBottom">16dp</item> <item name="android:textColor">?android:attr/textColorPrimary</item> <item name="android:textSize">16sp</item> </style> <style name="RingProgressBarStyle" parent="android:style/Widget.Material.ProgressBar.Horizontal"> <item name="android:indeterminate">false</item> Loading Loading
res/layout/face_enroll_introduction.xml +13 −40 Original line number Diff line number Diff line Loading @@ -43,9 +43,7 @@ <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="-24dp" android:layout_marginBottom="4dp"> android:layout_height="wrap_content"> <ImageView style="@style/SudContentIllustration" Loading @@ -66,15 +64,13 @@ <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/security_settings_face_enroll_introduction_info_title" android:textColor="?android:attr/textColorPrimary" android:textSize="20sp"/> style="@style/BiometricEnrollIntroTitle" android:text="@string/security_settings_face_enroll_introduction_info_title" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_glasses" Loading @@ -88,15 +84,13 @@ android:id="@+id/info_message_glasses" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_looking" Loading @@ -110,56 +104,35 @@ android:id="@+id/info_message_looking" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <Space android:layout_width="match_parent" android:layout_height="40dp"/> <!-- How it works --> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/security_settings_face_enroll_introduction_how_title" android:textColor="?android:attr/textColorPrimary" android:textAppearance="?android:attr/textAppearanceMedium" android:textSize="20sp"/> <Space android:layout_width="match_parent" android:layout_height="24dp"/> style="@style/BiometricEnrollIntroTitle" android:text="@string/security_settings_face_enroll_introduction_how_title" /> <TextView android:id="@+id/how_message" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> <Space android:layout_width="match_parent" android:layout_height="24dp"/> style="@style/BiometricEnrollIntroMessage" /> <!-- You're in control --> <TextView android:id="@+id/title_in_control" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="20sp"/> <Space android:layout_width="match_parent" android:layout_height="24dp"/> style="@style/BiometricEnrollIntroTitle" /> <TextView android:id="@+id/message_in_control" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" android:paddingBottom="0dp" /> </LinearLayout> Loading
res/layout/fingerprint_enroll_introduction.xml +18 −39 Original line number Diff line number Diff line Loading @@ -42,8 +42,7 @@ <FrameLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginVertical="12dp"> android:layout_height="wrap_content"> <ImageView style="@style/SudContentIllustration" Loading @@ -64,15 +63,13 @@ <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_title_2" android:textColor="?android:attr/textColorPrimary" android:textSize="20sp"/> style="@style/BiometricEnrollIntroTitle" android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_title_2" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_fingerprint" Loading @@ -87,15 +84,13 @@ android:id="@+id/footer_message_2" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_device_locked" Loading @@ -110,27 +105,20 @@ android:id="@+id/footer_message_3" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <Space android:layout_width="match_parent" android:layout_height="24dp"/> <!-- You're in control --> <TextView android:id="@+id/footer_title_1" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="20sp"/> style="@style/BiometricEnrollIntroTitle" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_trash_can" Loading @@ -145,28 +133,21 @@ android:id="@+id/footer_message_4" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <Space android:layout_width="match_parent" android:layout_height="24dp"/> <!-- Keep in mind --> <TextView android:id="@+id/footer_title_2" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/security_settings_face_enroll_introduction_info_title" android:textColor="?android:attr/textColorPrimary" android:textSize="20sp"/> style="@style/BiometricEnrollIntroTitle" android:text="@string/security_settings_face_enroll_introduction_info_title"/> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_info" Loading @@ -181,15 +162,13 @@ android:id="@+id/footer_message_5" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingTop="24dp"> android:orientation="horizontal"> <ImageView android:id="@+id/icon_link" Loading @@ -203,9 +182,9 @@ <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/security_settings_fingerprint_v2_enroll_introduction_message_learn_more" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp"/> style="@style/BiometricEnrollIntroMessage" android:paddingBottom="0dp" android:text="@string/security_settings_fingerprint_v2_enroll_introduction_message_learn_more" /> </LinearLayout> </LinearLayout> Loading
res/values/styles.xml +14 −0 Original line number Diff line number Diff line Loading @@ -398,6 +398,20 @@ <item name="android:lineSpacingMultiplier">1.2</item> </style> <style name="BiometricEnrollIntroTitle"> <item name="android:paddingVertical">24dp</item> <item name="android:textAppearance">?android:attr/textAppearanceMedium</item> <item name="android:textColor">?android:attr/textColorPrimary</item> <item name="android:textSize">20sp</item> </style> <style name="BiometricEnrollIntroMessage"> <item name="android:lineSpacingMultiplier">1.2</item> <item name="android:paddingBottom">16dp</item> <item name="android:textColor">?android:attr/textColorPrimary</item> <item name="android:textSize">16sp</item> </style> <style name="RingProgressBarStyle" parent="android:style/Widget.Material.ProgressBar.Horizontal"> <item name="android:indeterminate">false</item> Loading