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

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

Issue 2085133003: Add billing address to credit cards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 6 months 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
7 xmlns:app="http://schemas.android.com/apk/res-auto" 7 xmlns:app="http://schemas.android.com/apk/res-auto"
8 android:layout_width="match_parent" 8 android:layout_width="match_parent"
9 android:layout_height="match_parent" 9 android:layout_height="match_parent"
10 android:fillViewport="true" 10 android:fillViewport="true"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 android:layout_height="wrap_content" 90 android:layout_height="wrap_content"
91 android:layout_weight="1" 91 android:layout_weight="1"
92 android:orientation="vertical" > 92 android:orientation="vertical" >
93 <Spinner 93 <Spinner
94 android:id="@+id/autofill_credit_card_editor_year_spin ner" 94 android:id="@+id/autofill_credit_card_editor_year_spin ner"
95 android:layout_width="match_parent" 95 android:layout_width="match_parent"
96 android:layout_height="wrap_content" /> 96 android:layout_height="wrap_content" />
97 <View style="@style/PreferenceSpinnerUnderlineView" /> 97 <View style="@style/PreferenceSpinnerUnderlineView" />
98 </LinearLayout> 98 </LinearLayout>
99 </LinearLayout> 99 </LinearLayout>
100
101 <TextView
102 android:layout_width="match_parent"
103 android:layout_height="wrap_content"
104 android:focusable="true"
105 android:paddingTop="@dimen/pref_autofill_field_top_padding"
gone 2016/06/23 15:56:27 Any reason why there isn't a bottom padding here?
please use gerrit instead 2016/06/23 16:00:44 Copy-pasta from above, that's all.
106 android:textAppearance="@style/PreferenceFloatLabelTextAppearanc e"
107 android:text="@string/autofill_credit_card_editor_billing_addres s"
108 android:paddingStart="@dimen/pref_autofill_field_horizontal_padd ing"
109 android:paddingEnd="@dimen/pref_autofill_field_horizontal_paddin g" />
110
111 <Spinner
112 android:id="@+id/autofill_credit_card_editor_billing_address_spi nner"
113 android:layout_width="match_parent"
114 android:layout_height="wrap_content" />
115 <View style="@style/PreferenceSpinnerUnderlineView" />
100 </LinearLayout> 116 </LinearLayout>
101 117
102 <Space style="@style/ButtonBarTopSpacer" /> 118 <Space style="@style/ButtonBarTopSpacer" />
103 <View style="@style/ButtonBarTopDivider" /> 119 <View style="@style/ButtonBarTopDivider" />
104 120
105 <LinearLayout style="@style/ButtonBar" > 121 <LinearLayout style="@style/ButtonBar" >
106 <Button 122 <Button
107 android:id="@+id/autofill_credit_card_delete" 123 android:id="@+id/autofill_credit_card_delete"
108 style="@style/ButtonBarButton" 124 style="@style/ButtonBarButton"
109 android:text="@string/delete" /> 125 android:text="@string/delete" />
110 126
111 <Button 127 <Button
112 android:id="@+id/autofill_credit_card_cancel" 128 android:id="@+id/autofill_credit_card_cancel"
113 style="@style/ButtonBarButton" 129 style="@style/ButtonBarButton"
114 android:text="@string/cancel" /> 130 android:text="@string/cancel" />
115 131
116 <Button 132 <Button
117 android:id="@+id/autofill_credit_card_save" 133 android:id="@+id/autofill_credit_card_save"
118 style="@style/ButtonBarButton" 134 style="@style/ButtonBarButton"
119 android:text="@string/save" /> 135 android:text="@string/save" />
120 </LinearLayout> 136 </LinearLayout>
121 </LinearLayout> 137 </LinearLayout>
122 138
123 </ScrollView> 139 </ScrollView>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698