Index: chrome/android/java/res/layout/item_chooser_dialog_row.xml |
diff --git a/chrome/android/java/res/layout/item_chooser_dialog_row.xml b/chrome/android/java/res/layout/item_chooser_dialog_row.xml |
index f36586a3aeef43f02463257c0e7302dfeb85147c..cf6265ec135679490a1edece920e03d96945f8fa 100644 |
--- a/chrome/android/java/res/layout/item_chooser_dialog_row.xml |
+++ b/chrome/android/java/res/layout/item_chooser_dialog_row.xml |
@@ -3,11 +3,26 @@ |
Use of this source code is governed by a BSD-style license that can be |
found in the LICENSE file. --> |
-<TextView xmlns:android="http://schemas.android.com/apk/res/android" |
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
android:layout_width="match_parent" |
android:layout_height="48dp" |
android:paddingStart="16dp" |
- android:paddingEnd="16dp" |
- android:ellipsize="end" |
- android:gravity="center_vertical" |
- android:singleLine="true" /> |
+ android:paddingEnd="16dp"> |
+ |
+ <ImageView |
+ android:id="@+id/icon" |
+ android:contentDescription="@null" |
+ android:layout_width="24dp" |
+ android:layout_height="24dp" |
+ android:layout_centerVertical="true" |
+ android:layout_marginEnd="32dp"/> |
+ |
+ <TextView |
+ android:id="@+id/description" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:ellipsize="end" |
+ android:maxLines="1" |
+ android:layout_centerVertical="true" |
+ android:layout_toEndOf="@+id/icon" /> |
+</RelativeLayout> |