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

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: 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 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 34e90600154fb6c401da3f2639d62ab943cb67ce..3aef0657e0136597cba7837e40d043be9ba31828 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="start|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="end|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="start"
- 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="end"
- 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