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

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

Issue 14886012: Implement layout transition animations for the Autofill dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: findbugs errors 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 <GridLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 android:id="@+id/general_layout" 8 android:id="@+id/general_layout"
9 android:layout_width="match_parent" 9 android:layout_width="match_parent"
10 android:layout_height="wrap_content" 10 android:layout_height="wrap_content"
11 android:columnCount="4"> 11 android:orientation="vertical">
12 <CheckBox 12 <CheckBox
13 android:id="@+id/top_checkbox_notification" 13 android:id="@+id/top_checkbox_notification"
14 android:layout_columnSpan="4" 14 android:layout_width="match_parent"
15 android:layout_gravity="fill_horizontal" 15 android:layout_height="@dimen/autofill_edit_height"
16 android:textSize="@dimen/autofill_notification_text_size" 16 android:textSize="@dimen/autofill_notification_text_size"
17 android:visibility="gone"/> 17 android:visibility="gone"/>
18 <LinearLayout 18 <LinearLayout
19 android:id="@+id/top_notifications" 19 android:id="@+id/top_notifications"
20 android:layout_columnSpan="4" 20 android:layout_width="match_parent"
21 android:layout_gravity="fill_horizontal" 21 android:layout_height="wrap_content"
22 android:orientation="vertical" 22 android:orientation="vertical"
23 android:visibility="gone"/> 23 android:visibility="gone"/>
24 <TextView 24 <TextView
25 android:id="@+id/cc_billing_label" 25 android:id="@+id/cc_billing_label"
26 android:layout_columnSpan="2" 26 android:layout_width="match_parent"
27 android:layout_height="wrap_content"
27 android:layout_marginStart="@dimen/autofill_steady_margin" 28 android:layout_marginStart="@dimen/autofill_steady_margin"
28 android:textSize="@dimen/autofill_steady_text_size" 29 android:textSize="@dimen/autofill_steady_text_size"
29 android:textStyle="bold"/> 30 android:textStyle="bold"/>
30 <Space
31 android:layout_columnSpan="2"
32 android:layout_gravity="fill"/>
33 <Spinner 31 <Spinner
34 android:id="@+id/cc_billing_spinner" 32 android:id="@+id/cc_billing_spinner"
35 android:layout_columnSpan="4" 33 android:layout_width="match_parent"
36 android:layout_gravity="fill_horizontal" 34 android:layout_height="@dimen/autofill_edit_height"
37 android:layout_margin="@dimen/autofill_steady_margin" 35 android:layout_margin="@dimen/autofill_steady_margin"
38 android:dropDownVerticalOffset="@dimen/autofill_spinner_offset" 36 android:dropDownVerticalOffset="@dimen/autofill_spinner_offset"
39 android:padding="@dimen/autofill_menu_item_padding"/> 37 android:padding="@dimen/autofill_menu_item_padding"/>
40 <TextView 38 <TextView
41 android:id="@+id/cc_label" 39 android:id="@+id/cc_label"
42 android:layout_columnSpan="2" 40 android:layout_width="match_parent"
41 android:layout_height="wrap_content"
43 android:layout_marginStart="@dimen/autofill_steady_margin" 42 android:layout_marginStart="@dimen/autofill_steady_margin"
44 android:textSize="@dimen/autofill_steady_text_size" 43 android:textSize="@dimen/autofill_steady_text_size"
45 android:textStyle="bold"/> 44 android:textStyle="bold"/>
46 <Space
47 android:layout_columnSpan="2"
48 android:layout_gravity="fill"/>
49 <Spinner 45 <Spinner
50 android:id="@+id/cc_spinner" 46 android:id="@+id/cc_spinner"
51 android:layout_columnSpan="4" 47 android:layout_width="match_parent"
52 android:layout_gravity="fill_horizontal" 48 android:layout_height="@dimen/autofill_edit_height"
53 android:layout_margin="@dimen/autofill_steady_margin" 49 android:layout_margin="@dimen/autofill_steady_margin"
54 android:dropDownVerticalOffset="@dimen/autofill_spinner_offset" 50 android:dropDownVerticalOffset="@dimen/autofill_spinner_offset"
55 android:padding="@dimen/autofill_menu_item_padding"/> 51 android:padding="@dimen/autofill_menu_item_padding"/>
56 <TextView 52 <TextView
57 android:id="@+id/billing_label" 53 android:id="@+id/billing_label"
58 android:layout_columnSpan="2" 54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
59 android:layout_marginStart="@dimen/autofill_steady_margin" 56 android:layout_marginStart="@dimen/autofill_steady_margin"
60 android:textSize="@dimen/autofill_steady_text_size" 57 android:textSize="@dimen/autofill_steady_text_size"
61 android:textStyle="bold"/> 58 android:textStyle="bold"/>
62 <Space
63 android:layout_columnSpan="2"
64 android:layout_gravity="fill"/>
65 <Spinner 59 <Spinner
66 android:id="@+id/billing_spinner" 60 android:id="@+id/billing_spinner"
67 android:layout_columnSpan="4" 61 android:layout_width="match_parent"
68 android:layout_gravity="fill_horizontal" 62 android:layout_height="@dimen/autofill_edit_height"
69 android:layout_margin="@dimen/autofill_steady_margin" 63 android:layout_margin="@dimen/autofill_steady_margin"
70 android:dropDownVerticalOffset="@dimen/autofill_spinner_offset" 64 android:dropDownVerticalOffset="@dimen/autofill_spinner_offset"
71 android:padding="@dimen/autofill_menu_item_padding" 65 android:padding="@dimen/autofill_menu_item_padding"
72 android:visibility="gone"/> 66 android:visibility="gone"/>
73 <TextView 67 <TextView
74 android:id="@+id/shipping_label" 68 android:id="@+id/shipping_label"
75 android:layout_columnSpan="2" 69 android:layout_width="match_parent"
70 android:layout_height="wrap_content"
76 android:layout_marginStart="@dimen/autofill_steady_margin" 71 android:layout_marginStart="@dimen/autofill_steady_margin"
77 android:textSize="@dimen/autofill_steady_text_size" 72 android:textSize="@dimen/autofill_steady_text_size"
78 android:textStyle="bold"/> 73 android:textStyle="bold"/>
79 <Space
80 android:layout_columnSpan="2"
81 android:layout_gravity="fill"/>
82 <Spinner 74 <Spinner
83 android:id="@+id/address_spinner" 75 android:id="@+id/address_spinner"
84 android:layout_columnSpan="4" 76 android:layout_width="match_parent"
85 android:layout_gravity="fill_horizontal" 77 android:layout_height="@dimen/autofill_edit_height"
86 android:layout_margin="@dimen/autofill_steady_margin" 78 android:layout_margin="@dimen/autofill_steady_margin"
87 android:dropDownVerticalOffset="@dimen/autofill_spinner_offset" 79 android:dropDownVerticalOffset="@dimen/autofill_spinner_offset"
88 android:padding="@dimen/autofill_menu_item_padding"/> 80 android:padding="@dimen/autofill_menu_item_padding"/>
89 <TextView 81 <TextView
90 android:id="@+id/email_label" 82 android:id="@+id/email_label"
91 android:layout_columnSpan="2" 83 android:layout_width="match_parent"
84 android:layout_height="wrap_content"
92 android:layout_marginStart="@dimen/autofill_steady_margin" 85 android:layout_marginStart="@dimen/autofill_steady_margin"
93 android:textSize="@dimen/autofill_steady_text_size" 86 android:textSize="@dimen/autofill_steady_text_size"
94 android:textStyle="bold"/> 87 android:textStyle="bold"/>
95 <Space
96 android:layout_columnSpan="2"
97 android:layout_gravity="fill"/>
98 <Spinner 88 <Spinner
99 android:id="@+id/email_spinner" 89 android:id="@+id/email_spinner"
100 android:layout_columnSpan="4" 90 android:layout_width="match_parent"
101 android:layout_gravity="fill_horizontal" 91 android:layout_height="@dimen/autofill_edit_height"
102 android:layout_margin="@dimen/autofill_steady_margin" 92 android:layout_margin="@dimen/autofill_steady_margin"
103 android:dropDownVerticalOffset="@dimen/autofill_spinner_offset" 93 android:dropDownVerticalOffset="@dimen/autofill_spinner_offset"
104 android:padding="@dimen/autofill_menu_item_padding"/> 94 android:padding="@dimen/autofill_menu_item_padding"/>
105 <CheckBox 95 <CheckBox
106 android:id="@+id/save_locally_checkbox" 96 android:id="@+id/save_locally_checkbox"
107 android:layout_columnSpan="4" 97 android:layout_width="match_parent"
108 android:layout_gravity="fill_horizontal" 98 android:layout_height="@dimen/autofill_edit_height"
109 android:textSize="@dimen/autofill_notification_text_size" 99 android:textSize="@dimen/autofill_notification_text_size"
110 android:visibility="gone"/> 100 android:visibility="gone"/>
111 <LinearLayout 101 <LinearLayout
112 android:id="@+id/bottom_notifications" 102 android:id="@+id/bottom_notifications"
113 android:layout_columnSpan="4" 103 android:layout_width="match_parent"
114 android:layout_gravity="fill_horizontal" 104 android:layout_height="wrap_content"
115 android:orientation="vertical" 105 android:orientation="vertical"
116 android:visibility="gone"/> 106 android:visibility="gone"/>
117 <View 107 <View
118 android:id="@+id/line_bottom" 108 android:id="@+id/line_bottom"
119 android:layout_columnSpan="4" 109 android:layout_width="match_parent"
120 android:layout_height="1dp" 110 android:layout_height="1dp"
121 android:background="#D9D9DC"/> 111 android:background="#D9D9DC"/>
122 <Button 112 <Button
123 android:id="@+id/terms_info" 113 android:id="@+id/terms_info"
124 android:layout_columnSpan="4" 114 android:layout_width="match_parent"
115 android:layout_height="wrap_content"
125 android:background="?android:attr/selectableItemBackground" 116 android:background="?android:attr/selectableItemBackground"
126 android:gravity="start" 117 android:gravity="start"
127 android:padding="10dp" 118 android:padding="10dp"
128 android:text="@string/autofill_terms_of_service" 119 android:text="@string/autofill_terms_of_service"
129 android:textSize="@dimen/autofill_notification_text_size" 120 android:textSize="@dimen/autofill_notification_text_size"
130 android:visibility="gone"/> 121 android:visibility="gone"/>
131 </GridLayout> 122 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698