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

Unified Diff: chrome/android/java/res/layout/autofill_menu_item.xml

Issue 14801009: [rAc Android dialog] Logo, banner, text, alignment fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 8 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_menu_item.xml
diff --git a/chrome/android/java/res/layout/autofill_menu_item.xml b/chrome/android/java/res/layout/autofill_menu_item.xml
index dcb1f0fa6ebeacdef12bc0b5fc633376712c9c58..0e1f169a1589ef5433f28ff2398c4182486e5a43 100644
--- a/chrome/android/java/res/layout/autofill_menu_item.xml
+++ b/chrome/android/java/res/layout/autofill_menu_item.xml
@@ -11,27 +11,34 @@
android:minHeight="@dimen/autofill_menu_item_size"
android:gravity="center_vertical"
android:orientation="horizontal">
- <ImageView
- android:id="@+id/cc_icon"
- android:layout_width="@dimen/autofill_menu_item_size"
- android:layout_height="@dimen/autofill_menu_item_size"
- android:layout_marginLeft="5dp"/>
<LinearLayout
android:id="@+id/autofill_menu_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
- <TextView
- android:id="@+id/adapter_item_line_1"
+ <LinearLayout
+ android:id="@+id/autofill_menu_text"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:textSize="14sp"
- android:ellipsize="end"
- android:singleLine="true"
- android:scrollHorizontally="true"
- android:layout_marginLeft="5dp"/>
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:orientation="horizontal">
+ <ImageView
+ android:id="@+id/cc_icon"
+ android:layout_width="@dimen/autofill_menu_icon_width"
+ android:layout_height="@dimen/autofill_menu_icon_height"
+ android:layout_marginLeft="5dp"/>
+ <TextView
+ android:id="@+id/adapter_item_line_1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textStyle="bold"
+ android:textSize="14sp"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:scrollHorizontally="true"
+ android:layout_marginLeft="5dp"/>
+ </LinearLayout>
<TextView
android:id="@+id/adapter_item_line_2"
android:layout_width="wrap_content"
« no previous file with comments | « chrome/android/java/res/layout/autofill_general_layout.xml ('k') | chrome/android/java/res/values/dimens.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698