From: Jorim Jaggi Date: Wed, 10 Jun 2015 22:05:30 +0000 (-0700) Subject: Refine fingerprint enrollment experience X-Git-Tag: android-x86-6.0-r1~394^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=436e02c3d58d8e28dd29e9364ca56acf3821e663;p=android-x86%2Fpackages-apps-Settings.git Refine fingerprint enrollment experience - Flash fingerprint graphic when enrollment progresses - Show hint message when not progressing for a few seconds - Make sure animation is always working Bug: 21617091 Bug: 21644138 Change-Id: Ic54c10a655e6da914f960cee20f0066b46d87325 --- diff --git a/res/drawable-nodpi/fingerprint_indicator.png b/res/drawable-nodpi/fingerprint_indicator.png deleted file mode 100644 index fc5ef0ffcb..0000000000 Binary files a/res/drawable-nodpi/fingerprint_indicator.png and /dev/null differ diff --git a/res/drawable/fp_illustration_enrollment.xml b/res/drawable/fp_illustration_enrollment.xml new file mode 100644 index 0000000000..f9b7ed471e --- /dev/null +++ b/res/drawable/fp_illustration_enrollment.xml @@ -0,0 +1,36 @@ + + + + + + + + diff --git a/res/layout-land/fingerprint_enroll_enrolling.xml b/res/layout-land/fingerprint_enroll_enrolling.xml index c60888b5ab..4d02c07fb5 100644 --- a/res/layout-land/fingerprint_enroll_enrolling.xml +++ b/res/layout-land/fingerprint_enroll_enrolling.xml @@ -69,7 +69,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="16dp" - android:layout_gravity="center_horizontal|bottom"/> + android:layout_gravity="center_horizontal|bottom" + android:visibility="invisible"/> diff --git a/res/layout/fingerprint_enroll_enrolling_base.xml b/res/layout/fingerprint_enroll_enrolling_base.xml index 37e10bae5c..21221cf2e8 100644 --- a/res/layout/fingerprint_enroll_enrolling_base.xml +++ b/res/layout/fingerprint_enroll_enrolling_base.xml @@ -66,7 +66,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="24dp" - android:layout_gravity="center_horizontal"/> + android:layout_gravity="center_horizontal" + android:visibility="invisible"/> diff --git a/res/layout/fingerprint_enroll_enrolling_content.xml b/res/layout/fingerprint_enroll_enrolling_content.xml index 9fa503b403..b3171a39ba 100644 --- a/res/layout/fingerprint_enroll_enrolling_content.xml +++ b/res/layout/fingerprint_enroll_enrolling_content.xml @@ -23,17 +23,13 @@ android:layout_gravity="center_horizontal"> - - + android:background="@drawable/fp_illustration_enrollment" + android:backgroundTint="@color/fingerprint_indicator_background_resting" + android:src="@drawable/enrollment_fingerprint_isolated_animation"/>