diff --git a/autofill/autofill-impl/src/main/res/layout/content_autofill_generate_password_dialog.xml b/autofill/autofill-impl/src/main/res/layout/content_autofill_generate_password_dialog.xml index 6e5ad8642f74..74d9171baaa0 100644 --- a/autofill/autofill-impl/src/main/res/layout/content_autofill_generate_password_dialog.xml +++ b/autofill/autofill-impl/src/main/res/layout/content_autofill_generate_password_dialog.xml @@ -28,86 +28,105 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" /> - + + + + + app:layout_constraintWidth_max="@dimen/autofillBottomSheetContentMaxWidth" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="@id/guidelineStart" + app:layout_constraintEnd_toEndOf="@id/guidelineEnd"> - + - + - + - + - + + + + + \ No newline at end of file diff --git a/autofill/autofill-impl/src/main/res/layout/content_autofill_save_new_credentials.xml b/autofill/autofill-impl/src/main/res/layout/content_autofill_save_new_credentials.xml index 6d4b99231e65..84995b19201e 100644 --- a/autofill/autofill-impl/src/main/res/layout/content_autofill_save_new_credentials.xml +++ b/autofill/autofill-impl/src/main/res/layout/content_autofill_save_new_credentials.xml @@ -14,117 +14,114 @@ ~ limitations under the License. --> - - + + + + style="@style/AutofillDialogContentGuidelineStart" /> - - + style="@style/AutofillDialogContentGuidelineEnd" /> - + app:layout_constraintEnd_toEndOf="@id/guidelineEnd"> - + + + + + + + - - - - - - - - - - - + android:id="@+id/dialogTitle" + android:breakStrategy="balanced" + android:text="@string/saveLoginDialogTitle" + android:layout_marginTop="@dimen/keyline_5" + android:gravity="center_horizontal" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/siteDetailsContainer" + app:typography="h2" /> + + + + + + + + diff --git a/autofill/autofill-impl/src/main/res/layout/content_autofill_select_credentials_tooltip.xml b/autofill/autofill-impl/src/main/res/layout/content_autofill_select_credentials_tooltip.xml index b6979e2d7e1e..93e4beafa158 100644 --- a/autofill/autofill-impl/src/main/res/layout/content_autofill_select_credentials_tooltip.xml +++ b/autofill/autofill-impl/src/main/res/layout/content_autofill_select_credentials_tooltip.xml @@ -14,8 +14,7 @@ ~ limitations under the License. --> - @@ -26,59 +25,76 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" /> - + - + - + + + android:layout_marginTop="40dp" + android:gravity="center" + android:orientation="horizontal" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - + - + - + + + + + + \ No newline at end of file diff --git a/autofill/autofill-impl/src/main/res/layout/content_autofill_update_existing_credentials.xml b/autofill/autofill-impl/src/main/res/layout/content_autofill_update_existing_credentials.xml index b197fc23f5f8..fd416aec0507 100644 --- a/autofill/autofill-impl/src/main/res/layout/content_autofill_update_existing_credentials.xml +++ b/autofill/autofill-impl/src/main/res/layout/content_autofill_update_existing_credentials.xml @@ -28,82 +28,100 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" /> - + - + - + + + android:layout_marginTop="40dp" + android:gravity="center" + android:orientation="horizontal" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - + - + - + - + - + + + + + + \ No newline at end of file diff --git a/autofill/autofill-impl/src/main/res/layout/dialog_email_protection_choose_email.xml b/autofill/autofill-impl/src/main/res/layout/dialog_email_protection_choose_email.xml index d0a2c2f7438d..9199cef495e9 100644 --- a/autofill/autofill-impl/src/main/res/layout/dialog_email_protection_choose_email.xml +++ b/autofill/autofill-impl/src/main/res/layout/dialog_email_protection_choose_email.xml @@ -30,52 +30,65 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" /> - + + + + + app:layout_constraintWidth_max="@dimen/autofillBottomSheetContentMaxWidth" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="@id/guidelineStart" + app:layout_constraintEnd_toEndOf="@id/guidelineEnd"> - + - + + + + diff --git a/autofill/autofill-impl/src/main/res/layout/dialog_email_protection_in_context_sign_up.xml b/autofill/autofill-impl/src/main/res/layout/dialog_email_protection_in_context_sign_up.xml index f9e1fb1d9cf1..fe23a14692fd 100644 --- a/autofill/autofill-impl/src/main/res/layout/dialog_email_protection_in_context_sign_up.xml +++ b/autofill/autofill-impl/src/main/res/layout/dialog_email_protection_in_context_sign_up.xml @@ -16,110 +16,110 @@ - - - - - + + + + + app:layout_constraintEnd_toEndOf="@id/guidelineEnd"> - + + + + + + + - - + android:id="@+id/dialogTitle" + android:breakStrategy="balanced" + android:text="@string/autofillEmailProtectionInContextSignUpDialogTitle" + android:layout_marginTop="@dimen/keyline_5" + android:gravity="center_horizontal" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/siteDetailsContainer" + app:typography="h2" /> - - - - - - - + + + + + + diff --git a/autofill/autofill-impl/src/main/res/values/autofill-impl-dimensions.xml b/autofill/autofill-impl/src/main/res/values/autofill-impl-dimensions.xml index a7a3c1359e3d..8d1305db35b8 100644 --- a/autofill/autofill-impl/src/main/res/values/autofill-impl-dimensions.xml +++ b/autofill/autofill-impl/src/main/res/values/autofill-impl-dimensions.xml @@ -17,4 +17,5 @@ 200dp 30dp + 480dp \ No newline at end of file diff --git a/autofill/autofill-impl/src/main/res/values/styles.xml b/autofill/autofill-impl/src/main/res/values/styles.xml index 4d35b6b4037c..3921ffce2e96 100644 --- a/autofill/autofill-impl/src/main/res/values/styles.xml +++ b/autofill/autofill-impl/src/main/res/values/styles.xml @@ -52,4 +52,18 @@ @drawable/ic_close_24 + + + + \ No newline at end of file