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

Unified Diff: chrome/android/java/res/layout/autofill_dialog_title.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_dialog_title.xml
diff --git a/chrome/android/java/res/layout/autofill_dialog_title.xml b/chrome/android/java/res/layout/autofill_dialog_title.xml
index af1f5f2bc91b6fb9ca0474e1da68f0c99f65ac52..5fc031a6dba4df67913e4c018b46810b3a7a9911 100644
--- a/chrome/android/java/res/layout/autofill_dialog_title.xml
+++ b/chrome/android/java/res/layout/autofill_dialog_title.xml
@@ -4,23 +4,29 @@
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
-<merge xmlns:android="http://schemas.android.com/apk/res/android">
- <FrameLayout
+<org.chromium.chrome.browser.autofill.AutofillDialogTitleView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/title"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/autofill_dialog_title_height"
+ android:minHeight="@dimen/autofill_dialog_title_height">
+ <ImageView
+ android:id="@+id/accounts_logo"
+ android:layout_width="wrap_content"
+ android:layout_height="32dp"
+ android:layout_gravity="left|center_vertical"
+ android:layout_margin="@dimen/autofill_steady_margin"
+ android:scaleType="centerInside"
+ android:src="@drawable/wallet_logo"/>
+ <Spinner
+ android:id="@+id/accounts_spinner"
+ android:layout_width="232dp"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|center_vertical"
+ android:layout_margin="@dimen/autofill_steady_margin"/>
+ <View
+ android:id="@+id/line_top"
android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <ImageView
- android:id="@+id/accounts_logo"
- android:layout_width="wrap_content"
- android:layout_height="32dp"
- android:layout_gravity="left"
- android:layout_margin="@dimen/autofill_steady_margin"
- android:scaleType="centerInside"
- android:src="@drawable/wallet_logo"/>
- <Spinner
- android:id="@+id/accounts_spinner"
- android:layout_width="232dp"
- android:layout_height="wrap_content"
- android:layout_gravity="right"
- android:layout_margin="@dimen/autofill_steady_margin"/>
- </FrameLayout>
-</merge>
+ android:layout_height="1dp"
+ android:layout_gravity="bottom|fill_horizontal"
+ android:background="#D9D9DC"/>
+</org.chromium.chrome.browser.autofill.AutofillDialogTitleView>

Powered by Google App Engine
This is Rietveld 408576698