Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: chrome/android/java/res/layout/autofill_profile_editor.xml

Issue 2475953002: [Autofill] Change spacing in the local card editor, address editor (Android) (Closed)
Patch Set: Further adjust top margins Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <merge 6 <merge
7 xmlns:android="http://schemas.android.com/apk/res/android" 7 xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:app="http://schemas.android.com/apk/res-auto" > 8 xmlns:app="http://schemas.android.com/apk/res-auto" >
9 9
10 <!-- Country --> 10 <!-- Country -->
11 <!-- The top margin of this dropdown is already very large -->
11 <include layout="@layout/payment_request_editor_dropdown" /> 12 <include layout="@layout/payment_request_editor_dropdown" />
12 13
13 <!-- Country specific address information 14 <!-- Country specific address information
14 Bottom margins are handled by the views that are added to this layout. 15 Bottom margins are handled by the views that are added to this layout.
15 --> 16 -->
16 <LinearLayout 17 <LinearLayout
17 android:id="@+id/autofill_profile_widget_root" 18 android:id="@+id/autofill_profile_widget_root"
18 android:layout_width="match_parent" 19 android:layout_width="match_parent"
19 android:layout_height="wrap_content" 20 android:layout_height="wrap_content"
20 android:orientation="vertical" /> 21 android:orientation="vertical" />
21 22
22 <!-- Phone number --> 23 <!-- Phone number -->
23 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout 24 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout
24 android:id="@+id/phone_number_label" 25 android:id="@+id/phone_number_label"
25 android:layout_width="match_parent" 26 android:layout_width="match_parent"
26 android:layout_height="wrap_content" 27 android:layout_height="wrap_content"
27 android:layout_marginBottom="@dimen/pref_autofill_content_spacing" > 28 android:layout_marginTop="@dimen/pref_autofill_field_top_margin"
29 android:layout_marginBottom="@dimen/pref_autofill_field_bottom_margin" >
28 30
29 <EditText 31 <EditText
30 android:id="@+id/phone_number_edit" 32 android:id="@+id/phone_number_edit"
31 android:layout_width="match_parent" 33 android:layout_width="match_parent"
32 android:layout_height="wrap_content" 34 android:layout_height="wrap_content"
33 android:imeOptions="flagNoExtractUi" 35 android:imeOptions="flagNoExtractUi"
34 android:inputType="phone" 36 android:inputType="phone"
35 android:singleLine="true" 37 android:singleLine="true"
36 android:hint="@string/autofill_profile_editor_phone_number" /> 38 android:hint="@string/autofill_profile_editor_phone_number" />
37 39
38 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout> 40 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout>
39 41
40 <!-- Email address --> 42 <!-- Email address -->
41 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout 43 <org.chromium.chrome.browser.widget.CompatibilityTextInputLayout
42 android:id="@+id/email_address_label" 44 android:id="@+id/email_address_label"
43 android:layout_width="match_parent" 45 android:layout_width="match_parent"
44 android:layout_height="wrap_content" > 46 android:layout_height="wrap_content"
47 android:layout_marginTop="@dimen/pref_autofill_field_top_margin"
48 android:layout_marginBottom="@dimen/pref_autofill_field_bottom_margin" >
45 49
46 <EditText 50 <EditText
47 android:id="@+id/email_address_edit" 51 android:id="@+id/email_address_edit"
48 android:layout_width="match_parent" 52 android:layout_width="match_parent"
49 android:layout_height="wrap_content" 53 android:layout_height="wrap_content"
50 android:imeOptions="flagNoExtractUi" 54 android:imeOptions="flagNoExtractUi"
51 android:inputType="textEmailAddress" 55 android:inputType="textEmailAddress"
52 android:singleLine="true" 56 android:singleLine="true"
53 android:hint="@string/autofill_profile_editor_email_address" /> 57 android:hint="@string/autofill_profile_editor_email_address" />
54 58
55 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout> 59 </org.chromium.chrome.browser.widget.CompatibilityTextInputLayout>
56 60
57 </merge> 61 </merge>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698