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

Unified Diff: chrome/android/java/res/layout/autofill_editing_layout_billing.xml

Issue 12412003: Initial UI structure for autofill dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes to Ted's comments Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/autofill_editing_layout_billing.xml
diff --git a/chrome/android/java/res/layout/autofill_editing_layout_billing.xml b/chrome/android/java/res/layout/autofill_editing_layout_billing.xml
new file mode 100644
index 0000000000000000000000000000000000000000..c7d3cace17ddb239ee5dbab5c5a0302667799549
--- /dev/null
+++ b/chrome/android/java/res/layout/autofill_editing_layout_billing.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2013 The Chromium Authors. All rights reserved.
+
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file.
+-->
+<GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/editing_layout_billing"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:columnCount="4">
+ <EditText
+ android:layout_height="48dp"
Ted C 2013/03/06 21:57:11 I would probably extract the 48dp height and 2dp m
Yusuf 2013/03/07 18:16:58 Done.
+ android:id="@+id/card_number"
+ android:layout_margin="2dp"
+ android:textSize="18sp"
+ android:layout_gravity="fill_horizontal"
+ android:layout_columnSpan="4"/>
+ <EditText
+ android:layout_height="48dp"
+ android:id="@+id/expiration_month"
+ android:layout_margin="2dp"
+ android:textSize="18sp"/>
+ <EditText
+ android:layout_height="48dp"
+ android:id="@+id/expiration_year"
+ android:layout_margin="2dp"
+ android:textSize="18sp"/>
+ <Space
+ android:layout_columnSpan="1"
+ android:layout_gravity="fill"/>
+ <EditText
+ android:layout_height="48dp"
+ android:id="@+id/cvc_code"
+ android:layout_margin="2dp"
+ android:textSize="18sp"
+ android:layout_gravity="right"/>
+ <EditText
+ android:layout_height="48dp"
+ android:id="@+id/cardholder_name"
+ android:layout_margin="2dp"
+ android:textSize="18sp"
+ android:layout_gravity="fill_horizontal"
+ android:layout_columnSpan="4"/>
+ <EditText
+ android:layout_height="48dp"
+ android:id="@+id/billing_street_address_1"
+ android:layout_margin="2dp"
+ android:textSize="18sp"
+ android:layout_gravity="fill_horizontal"
+ android:layout_columnSpan="4"/>
+ <EditText
+ android:layout_height="48dp"
+ android:id="@+id/billing_street_address_2"
+ android:layout_margin="2dp"
+ android:textSize="18sp"
+ android:layout_gravity="fill_horizontal"
+ android:layout_columnSpan="4"/>
+ <EditText
+ android:layout_height="48dp"
+ android:id="@+id/billing_city"
+ android:layout_margin="2dp"
+ android:textSize="18sp"
+ android:layout_gravity="fill_horizontal"
+ android:layout_columnSpan="4"/>
+ <EditText
+ android:layout_height="48dp"
+ android:id="@+id/billing_zip_code"
+ android:layout_margin="2dp"
+ android:textSize="18sp"
+ android:layout_gravity="fill_horizontal"
+ android:layout_columnSpan="4"/>
+ <EditText
+ android:layout_height="48dp"
+ android:id="@+id/billing_phone_number"
+ android:layout_margin="2dp"
+ android:textSize="18sp"
+ android:layout_gravity="fill_horizontal"
+ android:layout_columnSpan="4"/>
+</GridLayout>

Powered by Google App Engine
This is Rietveld 408576698