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

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

Issue 14886012: Implement layout transition animations for the Autofill dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed rotation logic, wasn't calling super. Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 <!-- Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 3
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 android:layout_width="match_parent" 8 android:layout_width="match_parent"
9 android:layout_height="match_parent" 9 android:layout_height="wrap_content"
10 android:id="@+id/editing_layout_cc_billing" 10 android:id="@+id/editing_layout_cc_billing"
11 android:orientation="vertical"> 11 android:orientation="vertical">
12 <GridLayout 12 <GridLayout
13 android:id="@+id/editing_layout_credit_card" 13 android:id="@+id/editing_layout_credit_card"
14 android:layout_width="match_parent" 14 android:layout_width="match_parent"
15 android:layout_height="wrap_content" 15 android:layout_height="wrap_content"
16 android:columnCount="4"> 16 android:columnCount="4">
17 <EditText 17 <EditText
18 android:layout_height="@dimen/autofill_edit_height" 18 android:layout_height="@dimen/autofill_edit_height"
19 android:id="@+id/card_number" 19 android:id="@+id/card_number"
(...skipping 24 matching lines...) Expand all
44 android:textSize="@dimen/autofill_edit_text_size" 44 android:textSize="@dimen/autofill_edit_text_size"
45 android:layout_gravity="right"/> 45 android:layout_gravity="right"/>
46 <EditText 46 <EditText
47 android:layout_height="@dimen/autofill_edit_height" 47 android:layout_height="@dimen/autofill_edit_height"
48 android:id="@+id/cardholder_name" 48 android:id="@+id/cardholder_name"
49 android:layout_margin="@dimen/autofill_edit_margin" 49 android:layout_margin="@dimen/autofill_edit_margin"
50 android:textSize="@dimen/autofill_edit_text_size" 50 android:textSize="@dimen/autofill_edit_text_size"
51 android:layout_gravity="fill_horizontal" 51 android:layout_gravity="fill_horizontal"
52 android:layout_columnSpan="4"/> 52 android:layout_columnSpan="4"/>
53 </GridLayout> 53 </GridLayout>
54 <GridLayout xmlns:android="http://schemas.android.com/apk/res/android" 54 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
55 android:id="@+id/editing_layout_billing" 55 android:id="@+id/editing_layout_billing"
56 android:layout_width="match_parent" 56 android:layout_width="match_parent"
57 android:layout_height="wrap_content" 57 android:layout_height="wrap_content"
58 android:columnCount="4"> 58 android:orientation="vertical">
59 <EditText 59 <EditText
60 android:id="@+id/billing_street_address_1"
61 android:layout_width="match_parent"
60 android:layout_height="@dimen/autofill_edit_height" 62 android:layout_height="@dimen/autofill_edit_height"
61 android:id="@+id/billing_street_address_1"
62 android:layout_margin="@dimen/autofill_edit_margin" 63 android:layout_margin="@dimen/autofill_edit_margin"
63 android:textSize="@dimen/autofill_edit_text_size" 64 android:textSize="@dimen/autofill_edit_text_size"/>
64 android:layout_gravity="fill_horizontal"
65 android:layout_columnSpan="4"/>
66 <EditText 65 <EditText
66 android:id="@+id/billing_street_address_2"
67 android:layout_width="match_parent"
67 android:layout_height="@dimen/autofill_edit_height" 68 android:layout_height="@dimen/autofill_edit_height"
68 android:id="@+id/billing_street_address_2"
69 android:layout_margin="@dimen/autofill_edit_margin" 69 android:layout_margin="@dimen/autofill_edit_margin"
70 android:textSize="@dimen/autofill_edit_text_size" 70 android:textSize="@dimen/autofill_edit_text_size"/>
71 android:layout_gravity="fill_horizontal"
72 android:layout_columnSpan="4"/>
73 <EditText 71 <EditText
72 android:id="@+id/billing_city"
73 android:layout_width="match_parent"
74 android:layout_height="@dimen/autofill_edit_height" 74 android:layout_height="@dimen/autofill_edit_height"
75 android:id="@+id/billing_city"
76 android:layout_margin="@dimen/autofill_edit_margin" 75 android:layout_margin="@dimen/autofill_edit_margin"
77 android:textSize="@dimen/autofill_edit_text_size" 76 android:textSize="@dimen/autofill_edit_text_size"/>
78 android:layout_gravity="fill_horizontal"
79 android:layout_columnSpan="4"/>
80 <EditText 77 <EditText
78 android:id="@+id/billing_state"
79 android:layout_width="match_parent"
81 android:layout_height="@dimen/autofill_edit_height" 80 android:layout_height="@dimen/autofill_edit_height"
82 android:id="@+id/billing_state"
83 android:layout_margin="@dimen/autofill_edit_margin" 81 android:layout_margin="@dimen/autofill_edit_margin"
84 android:textSize="@dimen/autofill_edit_text_size" 82 android:textSize="@dimen/autofill_edit_text_size"/>
85 android:layout_gravity="fill_horizontal"
86 android:layout_columnSpan="4"/>
87 <EditText 83 <EditText
84 android:id="@+id/billing_zip_code"
85 android:layout_width="match_parent"
88 android:layout_height="@dimen/autofill_edit_height" 86 android:layout_height="@dimen/autofill_edit_height"
89 android:id="@+id/billing_zip_code"
90 android:layout_margin="@dimen/autofill_edit_margin" 87 android:layout_margin="@dimen/autofill_edit_margin"
91 android:textSize="@dimen/autofill_edit_text_size" 88 android:textSize="@dimen/autofill_edit_text_size"/>
92 android:layout_gravity="fill_horizontal"
93 android:layout_columnSpan="4"/>
94 <Spinner 89 <Spinner
90 android:id="@+id/billing_country_spinner"
91 android:layout_width="match_parent"
95 android:layout_height="@dimen/autofill_edit_height" 92 android:layout_height="@dimen/autofill_edit_height"
96 android:layout_margin="5dp" 93 android:layout_margin="5dp"/>
97 android:id="@+id/billing_country_spinner"
98 android:layout_gravity="fill_horizontal"
99 android:layout_columnSpan="4"/>
100 <EditText 94 <EditText
95 android:id="@+id/billing_phone_number"
96 android:layout_width="match_parent"
101 android:layout_height="@dimen/autofill_edit_height" 97 android:layout_height="@dimen/autofill_edit_height"
102 android:id="@+id/billing_phone_number"
103 android:layout_margin="@dimen/autofill_edit_margin" 98 android:layout_margin="@dimen/autofill_edit_margin"
104 android:textSize="@dimen/autofill_edit_text_size" 99 android:textSize="@dimen/autofill_edit_text_size"/>
105 android:layout_gravity="fill_horizontal" 100 </LinearLayout>
106 android:layout_columnSpan="4"/>
107 </GridLayout>
108 </LinearLayout> 101 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698