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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/autofill_editing_layout_credit_card.xml
diff --git a/chrome/android/java/res/layout/autofill_editing_layout_credit_card.xml b/chrome/android/java/res/layout/autofill_editing_layout_credit_card.xml
index 4255d6c024e025d55f7205e89cb0de44479c0929..81e757897c4a2e3a895afc49ffd11deb6b965c2f 100644
--- a/chrome/android/java/res/layout/autofill_editing_layout_credit_card.xml
+++ b/chrome/android/java/res/layout/autofill_editing_layout_credit_card.xml
@@ -6,7 +6,7 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:id="@+id/editing_layout_cc_billing"
android:orientation="vertical">
<GridLayout
@@ -51,58 +51,51 @@
android:layout_gravity="fill_horizontal"
android:layout_columnSpan="4"/>
</GridLayout>
- <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_billing"
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/billing_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/billing_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/billing_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/billing_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/billing_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_height="@dimen/autofill_edit_height"
- android:layout_margin="5dp"
android:id="@+id/billing_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/billing_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>
</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698