diff --git a/core/res/res/layout/autofill_save.xml b/core/res/res/layout/autofill_save.xml index 77fa62a5ecc93..50ff50f195647 100644 --- a/core/res/res/layout/autofill_save.xml +++ b/core/res/res/layout/autofill_save.xml @@ -14,94 +14,91 @@ limitations under the License. --> + + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:orientation="vertical"> - - + android:orientation="horizontal"> - + + + + + - + android:layout_marginTop="4dp" + android:visibility="gone"/> - + android:layout_gravity="end" + android:padding="16dp" + android:clipToPadding="false" + android:layout_weight="1" + android:orientation="horizontal"> + + + + + + + + + - - - - - - - - - - - diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 061413c603677..873b5644b4701 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -2900,7 +2900,6 @@ - diff --git a/services/autofill/java/com/android/server/autofill/ui/SaveUi.java b/services/autofill/java/com/android/server/autofill/ui/SaveUi.java index 035186525ae05..3727c6eb0e6cd 100644 --- a/services/autofill/java/com/android/server/autofill/ui/SaveUi.java +++ b/services/autofill/java/com/android/server/autofill/ui/SaveUi.java @@ -209,9 +209,6 @@ final class SaveUi { final View yesButton = view.findViewById(R.id.autofill_save_yes); yesButton.setOnClickListener((v) -> mListener.onSave()); - final View closeButton = view.findViewById(R.id.autofill_save_close); - closeButton.setOnClickListener(cancelListener); - mDialog = new Dialog(context, R.style.Theme_DeviceDefault_Light_Panel); mDialog.setContentView(view);