| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 <!-- Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 3 | 3 |
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. | 5 found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 <org.chromium.chrome.browser.autofill.AutofillDialogContentView xmlns:android="h
ttp://schemas.android.com/apk/res/android" | 7 <org.chromium.chrome.browser.autofill.AutofillDialogView xmlns:android="http://s
chemas.android.com/apk/res/android" |
| 8 android:layout_width="wrap_content" | 8 android:layout_width="match_parent" |
| 9 android:layout_height="wrap_content"> | 9 android:layout_height="wrap_content" |
| 10 android:minWidth="@dimen/autofill_dialog_width" |
| 11 android:minHeight="@dimen/autofill_dialog_max_height" |
| 12 android:gravity="center"> |
| 10 <!--TODO(yusufo):Add accessibility content description for all actionable it
ems--> | 13 <!--TODO(yusufo):Add accessibility content description for all actionable it
ems--> |
| 11 <include layout="@layout/autofill_general_layout"/> | 14 <include layout="@layout/autofill_dialog_title"/> |
| 12 <include layout="@layout/autofill_editing_layout_email"/> | 15 <ScrollView |
| 13 <include layout="@layout/autofill_editing_layout_credit_card"/> | 16 android:id="@+id/content" |
| 14 <include layout="@layout/autofill_editing_layout_shipping"/> | 17 android:layout_width="match_parent" |
| 18 android:layout_height="wrap_content"> |
| 19 <FrameLayout |
| 20 android:layout_width="match_parent" |
| 21 android:layout_height="wrap_content"> |
| 22 <include layout="@layout/autofill_general_layout"/> |
| 23 <include layout="@layout/autofill_editing_layout_email"/> |
| 24 <include layout="@layout/autofill_editing_layout_credit_card"/> |
| 25 <include layout="@layout/autofill_editing_layout_shipping"/> |
| 26 <LinearLayout |
| 27 android:layout_width="match_parent" |
| 28 android:layout_height="match_parent" |
| 29 android:id="@+id/loading_icon" |
| 30 android:visibility="gone" |
| 31 android:gravity="center" |
| 32 android:orientation="vertical"> |
| 33 <ProgressBar |
| 34 android:layout_marginTop="30dp" |
| 35 android:layout_width="48dp" |
| 36 android:layout_height="48dp" |
| 37 android:indeterminate="true"/> |
| 38 <TextView |
| 39 android:layout_margin="20dp" |
| 40 android:layout_width="wrap_content" |
| 41 android:layout_height="wrap_content" |
| 42 android:text="@string/autofill_fetch_message" /> |
| 43 </LinearLayout> |
| 44 </FrameLayout> |
| 45 </ScrollView> |
| 15 <LinearLayout | 46 <LinearLayout |
| 47 android:id="@+id/footer" |
| 16 android:layout_width="match_parent" | 48 android:layout_width="match_parent" |
| 17 android:layout_height="match_parent" | 49 android:layout_height="@dimen/autofill_dialog_footer_height" |
| 18 android:id="@+id/loading_icon" | 50 android:minHeight="@dimen/autofill_dialog_footer_height"> |
| 19 android:visibility="gone" | 51 <Button |
| 20 android:gravity="center" | 52 android:id="@+id/negative_button" |
| 21 android:orientation="vertical"> | 53 android:layout_width="0dp" |
| 22 <TextView | 54 android:layout_weight="0.5" |
| 23 android:layout_marginTop="24dp" | 55 android:layout_height="@dimen/autofill_dialog_footer_height" |
| 24 android:layout_width="wrap_content" | 56 android:background = "?android:attr/selectableItemBackground" |
| 25 android:layout_height="wrap_content" | 57 android:visibility="gone"/> |
| 26 android:text="@string/autofill_fetch_message" /> | 58 <Button |
| 27 <ProgressBar | 59 android:id="@+id/positive_button" |
| 28 android:layout_marginTop="24dp" | 60 android:layout_width="0dp" |
| 29 android:layout_marginBottom="32dp" | 61 android:layout_weight="0.5" |
| 30 android:layout_width="48dp" | 62 android:layout_height="@dimen/autofill_dialog_footer_height" |
| 31 android:layout_height="48dp" | 63 android:background = "?android:attr/selectableItemBackground" |
| 32 android:indeterminate="true"/> | 64 android:visibility="gone"/> |
| 33 </LinearLayout> | 65 </LinearLayout> |
| 34 </org.chromium.chrome.browser.autofill.AutofillDialogContentView> | 66 </org.chromium.chrome.browser.autofill.AutofillDialogView> |
| OLD | NEW |