OLD | NEW |
| (Empty) |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | |
3 | |
4 Use of this source code is governed by a BSD-style license that can be | |
5 found in the LICENSE file. | |
6 --> | |
7 | |
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
9 android:id="@+id/suggestion_item" | |
10 android:layout_width="wrap_content" | |
11 android:layout_height="match_parent" | |
12 android:gravity="center_vertical" | |
13 android:orientation="horizontal"> | |
14 | |
15 <LinearLayout | |
16 android:id="@+id/inner_layout" | |
17 android:layout_width="0dp" | |
18 android:layout_height="match_parent" | |
19 android:layout_weight="1" | |
20 android:orientation="vertical" | |
21 android:layout_gravity="center_vertical"> | |
22 | |
23 <TextView android:id="@+id/suggestion_item_label" | |
24 android:layout_width="wrap_content" | |
25 android:layout_height="wrap_content" | |
26 android:layout_marginStart="10dp" | |
27 android:layout_marginEnd="10dp" | |
28 android:ellipsize="end" | |
29 android:singleLine="true" | |
30 android:textAlignment="viewStart" | |
31 android:gravity="start" | |
32 android:textSize="18sp" | |
33 android:includeFontPadding="false"/> | |
34 | |
35 <TextView android:id="@+id/suggestion_item_sublabel" | |
36 android:layout_width="wrap_content" | |
37 android:layout_height="wrap_content" | |
38 android:layout_marginStart="10dp" | |
39 android:layout_marginEnd="10dp" | |
40 android:textSize="14sp" | |
41 android:textColor="#8b8b8b" | |
42 android:ellipsize="end" | |
43 android:singleLine="true" | |
44 android:textAlignment="viewStart" | |
45 android:gravity="start" | |
46 android:includeFontPadding="false"/> | |
47 </LinearLayout> | |
48 | |
49 <ImageView | |
50 android:background="?android:attr/selectableItemBackground" | |
51 android:id="@+id/suggestion_item_arrow" | |
52 android:layout_width="50dp" | |
53 android:layout_height="match_parent" | |
54 android:gravity="end" | |
55 android:scaleType="center" | |
56 android:src="@drawable/suggestion_arrow" | |
57 android:contentDescription="@null" /> | |
58 </LinearLayout> | |
59 | |
OLD | NEW |