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 a3543dc9e54c6d61ab6ba06ccfd695ef845a582e..dac2d11a911f073642738e09b7fdd6e22420eca3 100644 |
--- a/chrome/android/java/res/layout/item_chooser_dialog_row.xml |
+++ b/chrome/android/java/res/layout/item_chooser_dialog_row.xml |
@@ -8,12 +8,22 @@ |
android:paddingStart="16dp" |
android:paddingEnd="16dp" |
android:background="@drawable/item_chooser_row_background"> |
+ <!-- contentDescription is added at runtime. --> |
+ <ImageView |
+ android:id="@+id/icon" |
+ android:contentDescription="@null" |
+ android:layout_width="24dp" |
+ android:layout_height="24dp" |
+ android:layout_centerVertical="true" |
+ android:layout_marginEnd="16dp"/> |
<TextView |
android:id="@+id/description" |
android:layout_width="match_parent" |
android:layout_height="wrap_content" |
+ android:layout_centerVertical="true" |
+ android:layout_toEndOf="@id/icon" |
android:ellipsize="end" |
android:maxLines="1" |
- android:textColor="@color/item_chooser_row_text_color" |
- android:layout_centerVertical="true"/> |
+ android:textSize="16sp" |
+ android:textColor="@color/item_chooser_row_text_color"/> |
</RelativeLayout> |