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

Unified Diff: chrome/android/java/res/layout/autofill_editing_layout_shipping.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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/autofill_editing_layout_shipping.xml
diff --git a/chrome/android/java/res/layout/autofill_editing_layout_shipping.xml b/chrome/android/java/res/layout/autofill_editing_layout_shipping.xml
index f72b2d3168ae58e2da0526d9b6b9e1683c2db2d9..d4b9c7bd4804a4f64597bb6447bd7f37a0aa0da5 100644
--- a/chrome/android/java/res/layout/autofill_editing_layout_shipping.xml
+++ b/chrome/android/java/res/layout/autofill_editing_layout_shipping.xml
@@ -4,63 +4,56 @@
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"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/editing_layout_shipping"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:columnCount="4">
+ android:orientation="vertical">
<EditText
- android:layout_height="@dimen/autofill_edit_height"
android:id="@+id/recipient_name"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/autofill_edit_height"
android:layout_margin="@dimen/autofill_edit_margin"
- android:textSize="@dimen/autofill_edit_text_size"
- android:layout_gravity="fill_horizontal"
- android:layout_columnSpan="4"/>
+ android:textSize="@dimen/autofill_edit_text_size"/>
<EditText
- android:layout_height="@dimen/autofill_edit_height"
android:id="@+id/shipping_street_address_1"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/autofill_edit_height"
android:layout_margin="@dimen/autofill_edit_margin"
- android:textSize="@dimen/autofill_edit_text_size"
- android:layout_gravity="fill_horizontal"
- android:layout_columnSpan="4"/>
+ android:textSize="@dimen/autofill_edit_text_size"/>
<EditText
- android:layout_height="@dimen/autofill_edit_height"
android:id="@+id/shipping_street_address_2"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/autofill_edit_height"
android:layout_margin="@dimen/autofill_edit_margin"
- android:textSize="@dimen/autofill_edit_text_size"
- android:layout_gravity="fill_horizontal"
- android:layout_columnSpan="4"/>
+ android:textSize="@dimen/autofill_edit_text_size"/>
<EditText
- android:layout_height="@dimen/autofill_edit_height"
android:id="@+id/shipping_city"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/autofill_edit_height"
android:layout_margin="@dimen/autofill_edit_margin"
- android:textSize="@dimen/autofill_edit_text_size"
- android:layout_gravity="fill_horizontal"
- android:layout_columnSpan="4"/>
+ android:textSize="@dimen/autofill_edit_text_size"/>
<EditText
- android:layout_height="@dimen/autofill_edit_height"
android:id="@+id/shipping_state"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/autofill_edit_height"
android:layout_margin="@dimen/autofill_edit_margin"
- android:textSize="@dimen/autofill_edit_text_size"
- android:layout_gravity="fill_horizontal"
- android:layout_columnSpan="4"/>
+ android:textSize="@dimen/autofill_edit_text_size"/>
<EditText
- android:layout_height="@dimen/autofill_edit_height"
android:id="@+id/shipping_zip_code"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/autofill_edit_height"
android:layout_margin="@dimen/autofill_edit_margin"
- android:textSize="@dimen/autofill_edit_text_size"
- android:layout_gravity="fill_horizontal"
- android:layout_columnSpan="4"/>
+ android:textSize="@dimen/autofill_edit_text_size"/>
<Spinner
- android:layout_margin="5dp"
android:id="@+id/shipping_country_spinner"
- android:layout_gravity="fill_horizontal"
- android:layout_columnSpan="4"/>
- <EditText
+ android:layout_width="match_parent"
android:layout_height="@dimen/autofill_edit_height"
+ android:layout_margin="5dp"/>
+ <EditText
android:id="@+id/shipping_phone_number"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/autofill_edit_height"
android:layout_margin="@dimen/autofill_edit_margin"
- android:textSize="@dimen/autofill_edit_text_size"
- android:layout_gravity="fill_horizontal"
- android:layout_columnSpan="4"/>
-</GridLayout>
+ android:textSize="@dimen/autofill_edit_text_size"/>
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698