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 <GridLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
8 android:id="@+id/editing_layout_billing" | |
9 android:layout_width="match_parent" | |
10 android:layout_height="wrap_content" | |
11 android:columnCount="4"> | |
12 <EditText | |
13 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.
| |
14 android:id="@+id/card_number" | |
15 android:layout_margin="2dp" | |
16 android:textSize="18sp" | |
17 android:layout_gravity="fill_horizontal" | |
18 android:layout_columnSpan="4"/> | |
19 <EditText | |
20 android:layout_height="48dp" | |
21 android:id="@+id/expiration_month" | |
22 android:layout_margin="2dp" | |
23 android:textSize="18sp"/> | |
24 <EditText | |
25 android:layout_height="48dp" | |
26 android:id="@+id/expiration_year" | |
27 android:layout_margin="2dp" | |
28 android:textSize="18sp"/> | |
29 <Space | |
30 android:layout_columnSpan="1" | |
31 android:layout_gravity="fill"/> | |
32 <EditText | |
33 android:layout_height="48dp" | |
34 android:id="@+id/cvc_code" | |
35 android:layout_margin="2dp" | |
36 android:textSize="18sp" | |
37 android:layout_gravity="right"/> | |
38 <EditText | |
39 android:layout_height="48dp" | |
40 android:id="@+id/cardholder_name" | |
41 android:layout_margin="2dp" | |
42 android:textSize="18sp" | |
43 android:layout_gravity="fill_horizontal" | |
44 android:layout_columnSpan="4"/> | |
45 <EditText | |
46 android:layout_height="48dp" | |
47 android:id="@+id/billing_street_address_1" | |
48 android:layout_margin="2dp" | |
49 android:textSize="18sp" | |
50 android:layout_gravity="fill_horizontal" | |
51 android:layout_columnSpan="4"/> | |
52 <EditText | |
53 android:layout_height="48dp" | |
54 android:id="@+id/billing_street_address_2" | |
55 android:layout_margin="2dp" | |
56 android:textSize="18sp" | |
57 android:layout_gravity="fill_horizontal" | |
58 android:layout_columnSpan="4"/> | |
59 <EditText | |
60 android:layout_height="48dp" | |
61 android:id="@+id/billing_city" | |
62 android:layout_margin="2dp" | |
63 android:textSize="18sp" | |
64 android:layout_gravity="fill_horizontal" | |
65 android:layout_columnSpan="4"/> | |
66 <EditText | |
67 android:layout_height="48dp" | |
68 android:id="@+id/billing_zip_code" | |
69 android:layout_margin="2dp" | |
70 android:textSize="18sp" | |
71 android:layout_gravity="fill_horizontal" | |
72 android:layout_columnSpan="4"/> | |
73 <EditText | |
74 android:layout_height="48dp" | |
75 android:id="@+id/billing_phone_number" | |
76 android:layout_margin="2dp" | |
77 android:textSize="18sp" | |
78 android:layout_gravity="fill_horizontal" | |
79 android:layout_columnSpan="4"/> | |
80 </GridLayout> | |
OLD | NEW |