Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | |
| 3 Use of this source code is governed by a BSD-style license that can be | |
| 4 found in the LICENSE file. --> | |
| 5 | |
| 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
|
juncai
2016/08/26 19:37:48
Since we already have an item_chooser_dialog_row.x
ortuno
2016/09/12 05:11:27
Ah good idea. Done.
| |
| 7 android:orientation="horizontal" | |
| 8 android:layout_width="match_parent" | |
| 9 android:layout_height="48dp" | |
| 10 android:paddingStart="16dp" | |
| 11 android:paddingEnd="16dp" | |
| 12 android:gravity="center_vertical"> | |
| 13 <LinearLayout | |
| 14 android:id="@+id/imageContainer" | |
| 15 android:layout_width="56dp" | |
| 16 android:layout_height="match_parent" | |
| 17 android:gravity="center_vertical"> | |
| 18 <ImageView | |
| 19 android:id="@+id/icon" | |
| 20 android:layout_width="24dp" | |
| 21 android:layout_height="24dp"/> | |
| 22 </LinearLayout> | |
| 23 <TextView | |
| 24 android:id="@+id/description" | |
| 25 android:layout_width="fill_parent" | |
| 26 android:layout_height="match_parent" | |
| 27 android:ellipsize="end" | |
| 28 android:gravity="center_vertical" | |
| 29 android:singleLine="true"/> | |
| 30 </LinearLayout> | |
| OLD | NEW |