Merge "Fingerprint added graphic is bigger than enrolling progressbar" into oc-mr1-dev
am: 1908c4010b
Change-Id: I949aa81a0a88be0824590d85a50400b1b1268d3f
This commit is contained in:
@@ -108,10 +108,18 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<include layout="@layout/fingerprint_enroll_enrolling_content"
|
<com.android.setupwizardlib.view.FillContentLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="@dimen/fingerprint_progress_bar_max_size"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="@dimen/fingerprint_progress_bar_max_size"
|
||||||
android:layout_gravity="center"/>
|
android:paddingTop="0dp"
|
||||||
|
android:paddingBottom="0dp"
|
||||||
|
android:layout_marginVertical="24dp">
|
||||||
|
|
||||||
|
<include layout="@layout/fingerprint_enroll_enrolling_content"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_gravity="center" />
|
||||||
|
</com.android.setupwizardlib.view.FillContentLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/TextAppearance.FingerprintErrorText"
|
style="@style/TextAppearance.FingerprintErrorText"
|
||||||
|
@@ -64,11 +64,18 @@
|
|||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<include layout="@layout/fingerprint_enroll_enrolling_content"
|
<com.android.setupwizardlib.view.FillContentLayout
|
||||||
android:layout_width="@dimen/fingerprint_progress_bar_max_size"
|
android:layout_width="@dimen/fingerprint_progress_bar_max_size"
|
||||||
android:layout_height="@dimen/fingerprint_progress_bar_max_size"
|
android:layout_height="@dimen/fingerprint_progress_bar_max_size"
|
||||||
android:layout_gravity="center"
|
android:paddingTop="0dp"
|
||||||
android:layout_marginVertical="24dp"/>
|
android:paddingBottom="0dp"
|
||||||
|
android:layout_marginVertical="24dp">
|
||||||
|
|
||||||
|
<include layout="@layout/fingerprint_enroll_enrolling_content"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_gravity="center" />
|
||||||
|
</com.android.setupwizardlib.view.FillContentLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/TextAppearance.FingerprintErrorText"
|
style="@style/TextAppearance.FingerprintErrorText"
|
||||||
|
@@ -18,8 +18,8 @@
|
|||||||
<com.android.settings.widget.RingProgressBar
|
<com.android.settings.widget.RingProgressBar
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:id="@+id/fingerprint_progress_bar"
|
android:id="@+id/fingerprint_progress_bar"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent"
|
||||||
android:background="@drawable/fp_illustration"
|
android:background="@drawable/fp_illustration"
|
||||||
android:minHeight="@dimen/fingerprint_progress_bar_min_size"
|
android:minHeight="@dimen/fingerprint_progress_bar_min_size"
|
||||||
android:progress="0" />
|
android:progress="0" />
|
||||||
|
@@ -41,22 +41,40 @@
|
|||||||
android:minLines="3"
|
android:minLines="3"
|
||||||
android:text="@string/security_settings_fingerprint_enroll_finish_message"/>
|
android:text="@string/security_settings_fingerprint_enroll_finish_message"/>
|
||||||
|
|
||||||
<com.android.setupwizardlib.view.FillContentLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:maxWidth="@dimen/fingerprint_finish_max_size"
|
android:gravity="center"
|
||||||
android:maxHeight="@dimen/fingerprint_finish_max_size">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<ImageView
|
<com.android.setupwizardlib.view.FillContentLayout
|
||||||
android:id="@+id/fingerprint_in_app_indicator"
|
android:layout_width="@dimen/fingerprint_progress_bar_max_size"
|
||||||
style="@style/SuwContentIllustration"
|
android:layout_height="@dimen/fingerprint_progress_bar_max_size"
|
||||||
android:layout_width="match_parent"
|
android:layout_marginVertical="24dp"
|
||||||
android:layout_height="match_parent"
|
android:paddingTop="0dp"
|
||||||
android:contentDescription="@android:string/fingerprint_icon_content_description"
|
android:paddingBottom="0dp"
|
||||||
android:src="@drawable/fp_app_indicator" />
|
android:gravity="center|center_horizontal">
|
||||||
|
|
||||||
</com.android.setupwizardlib.view.FillContentLayout>
|
<ImageView
|
||||||
|
android:id="@+id/fingerprint_in_app_indicator"
|
||||||
|
style="@style/SuwContentIllustration"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:padding="7dp"
|
||||||
|
android:contentDescription="@android:string/fingerprint_icon_content_description"
|
||||||
|
android:src="@drawable/fp_app_indicator" />
|
||||||
|
</com.android.setupwizardlib.view.FillContentLayout>
|
||||||
|
|
||||||
|
<!-- Added to align elements with fingerprint_enroll_enrolling_base -->
|
||||||
|
<TextView
|
||||||
|
style="@style/TextAppearance.FingerprintErrorText"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_horizontal|bottom"
|
||||||
|
android:visibility="invisible" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user