| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 3 | |
| 4 Use of this source code is governed by a BSD-style license that can be | |
| 5 found in the LICENSE file. | |
| 6 --> | |
| 7 <org.chromium.chrome.browser.autofill.AutofillDialogView xmlns:android="http://s
chemas.android.com/apk/res/android" | |
| 8 android:layout_width="match_parent" | |
| 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"> | |
| 13 <!--TODO(yusufo):Add accessibility content description for all actionable it
ems--> | |
| 14 <include layout="@layout/autofill_dialog_title"/> | |
| 15 <ScrollView | |
| 16 android:id="@+id/content" | |
| 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> | |
| 46 <LinearLayout | |
| 47 android:id="@+id/footer" | |
| 48 android:layout_width="match_parent" | |
| 49 android:layout_height="@dimen/autofill_dialog_footer_height" | |
| 50 android:minHeight="@dimen/autofill_dialog_footer_height"> | |
| 51 <Button | |
| 52 android:id="@+id/negative_button" | |
| 53 android:layout_width="0dp" | |
| 54 android:layout_weight="0.5" | |
| 55 android:layout_height="@dimen/autofill_dialog_footer_height" | |
| 56 android:background = "?android:attr/selectableItemBackground" | |
| 57 android:visibility="gone"/> | |
| 58 <Button | |
| 59 android:id="@+id/positive_button" | |
| 60 android:layout_width="0dp" | |
| 61 android:layout_weight="0.5" | |
| 62 android:layout_height="@dimen/autofill_dialog_footer_height" | |
| 63 android:background = "?android:attr/selectableItemBackground" | |
| 64 android:visibility="gone"/> | |
| 65 </LinearLayout> | |
| 66 </org.chromium.chrome.browser.autofill.AutofillDialogView> | |
| OLD | NEW |