[BiometricsV2] Refactor Fingerprint intro fragment

Refactor FingerprintEnrollIntroFragment to kotlin and add bindView()
method for it.

Bug: 286197823
Test: atest FingerprintEnrollmentActivityTest
Change-Id: I44157bf2c2bea6f49382335438b16aae3e3e5b4c
This commit is contained in:
Milton Wu
2023-06-17 14:30:42 +08:00
parent aa3dbf52e2
commit 8e42d7c85a
3 changed files with 329 additions and 311 deletions

View File

@@ -81,6 +81,7 @@
android:id="@+id/footer_message_2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_message_2"
style="@style/BiometricEnrollIntroMessage" />
</LinearLayout>
@@ -102,6 +103,7 @@
android:id="@+id/footer_message_3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_message_3"
style="@style/BiometricEnrollIntroMessage" />
</LinearLayout>
@@ -110,6 +112,7 @@
android:id="@+id/footer_title_1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/security_settings_fingerprint_enroll_introduction_footer_title_1"
style="@style/BiometricEnrollIntroTitle" />
<LinearLayout
@@ -130,6 +133,7 @@
android:id="@+id/footer_message_4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_message_4"
style="@style/BiometricEnrollIntroMessage" />
</LinearLayout>
@@ -139,7 +143,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/BiometricEnrollIntroTitle"
android:text="@string/security_settings_face_enroll_introduction_info_title"/>
android:text="@string/security_settings_fingerprint_enroll_introduction_footer_title_2"/>
<LinearLayout
android:layout_width="match_parent"
@@ -159,6 +163,7 @@
android:id="@+id/footer_message_5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_message_5"
style="@style/BiometricEnrollIntroMessage" />
</LinearLayout>
@@ -180,6 +185,7 @@
android:id="@+id/footer_message_6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_message_6"
style="@style/BiometricEnrollIntroMessage" />
</LinearLayout>