OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
7 android:id="@+id/list_item" | 7 android:id="@+id/list_item" |
8 android:layout_width="match_parent" | 8 android:layout_width="match_parent" |
9 android:layout_height="wrap_content" | 9 android:layout_height="wrap_content" |
10 android:gravity="center_vertical" | 10 android:gravity="center_vertical" |
11 android:orientation="horizontal" > | 11 android:orientation="horizontal" > |
12 | 12 |
13 <ImageView | 13 <ImageView |
14 android:id="@+id/favicon" | 14 android:id="@+id/favicon" |
15 android:layout_width="@dimen/bookmark_widget_min_width" | 15 android:layout_width="@dimen/bookmark_widget_min_width" |
16 android:layout_height="@dimen/bookmark_widget_min_height" | 16 android:layout_height="@dimen/bookmark_widget_min_height" |
17 android:contentDescription="@null" | 17 android:contentDescription="@null" |
18 android:scaleType="center" /> | 18 android:scaleType="center" /> |
19 | 19 |
20 <TextView | 20 <TextView |
21 android:id="@+id/title" | 21 android:id="@+id/title" |
22 android:layout_width="0dp" | 22 android:layout_width="0dp" |
23 android:layout_height="wrap_content" | 23 android:layout_height="wrap_content" |
24 android:layout_weight="1" | 24 android:layout_weight="1" |
25 android:gravity="center_vertical" | 25 android:gravity="center_vertical" |
26 android:paddingEnd="16dp" | 26 android:paddingEnd="16dp" |
27 android:singleLine="true" | 27 android:singleLine="true" |
28 android:textAlignment="viewStart" | 28 android:textAlignment="viewStart" |
| 29 android:textColor="@color/default_text_color" |
29 android:textSize="16sp" /> | 30 android:textSize="16sp" /> |
30 | 31 |
31 </LinearLayout> | 32 </LinearLayout> |
OLD | NEW |