OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 <org.chromium.chrome.browser.history.HistoryItemView | 6 <org.chromium.chrome.browser.history.HistoryItemView |
7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
8 xmlns:chrome="http://schemas.android.com/apk/res-auto" | 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
9 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
10 android:layout_height="wrap_content" > | 10 android:layout_height="wrap_content" > |
11 | 11 |
12 <LinearLayout | 12 <LinearLayout |
13 android:id="@+id/content" | 13 android:id="@+id/content" |
14 android:layout_width="match_parent" | 14 android:layout_width="match_parent" |
15 android:layout_height="wrap_content" | 15 android:layout_height="wrap_content" |
16 android:paddingTop="16dp" | 16 android:paddingTop="16dp" |
17 android:paddingBottom="16dp" | 17 android:paddingBottom="16dp" |
18 android:orientation="horizontal" | 18 android:orientation="horizontal" > |
19 android:background="@android:color/white" > | |
20 | 19 |
21 <ImageView | 20 <ImageView |
22 android:id="@+id/icon_view" | 21 android:id="@+id/icon_view" |
23 style="@style/HistoryStartIcon" | 22 style="@style/HistoryStartIcon" |
24 android:contentDescription="@null" | 23 android:contentDescription="@null" |
25 android:src="@drawable/default_favicon" /> | 24 android:src="@drawable/default_favicon" /> |
26 | 25 |
27 <LinearLayout | 26 <LinearLayout |
28 android:layout_width="0dp" | 27 android:layout_width="0dp" |
29 android:layout_height="wrap_content" | 28 android:layout_height="wrap_content" |
30 android:layout_weight="1" | 29 android:layout_weight="1" |
31 android:orientation="vertical" > | 30 android:orientation="vertical" |
| 31 android:paddingStart="16dp" > |
32 | 32 |
33 <TextView | 33 <TextView |
34 android:id="@+id/title" | 34 android:id="@+id/title" |
35 android:layout_width="match_parent" | 35 android:layout_width="match_parent" |
36 android:layout_height="wrap_content" | 36 android:layout_height="wrap_content" |
37 android:singleLine="true" | 37 android:singleLine="true" |
38 android:ellipsize="end" | 38 android:ellipsize="end" |
39 android:textColor="@color/default_text_color" | 39 android:textColor="@color/default_text_color" |
40 android:textSize="16sp" /> | 40 android:textSize="16sp" /> |
41 | 41 |
42 <TextView | 42 <TextView |
43 android:id="@+id/domain" | 43 android:id="@+id/domain" |
44 android:layout_width="match_parent" | 44 android:layout_width="match_parent" |
45 android:layout_height="wrap_content" | 45 android:layout_height="wrap_content" |
46 android:singleLine="true" | 46 android:singleLine="true" |
47 android:ellipsize="end" | 47 android:ellipsize="end" |
48 android:textColor="@color/google_grey_600" | 48 android:textColor="@color/google_grey_600" |
49 android:textSize="14sp" /> | 49 android:textSize="14sp" /> |
50 </LinearLayout> | 50 </LinearLayout> |
51 | 51 |
52 <org.chromium.chrome.browser.widget.TintedImageButton | 52 <org.chromium.chrome.browser.widget.TintedImageButton |
53 android:id="@+id/remove" | 53 android:id="@+id/remove" |
54 style="@style/HistoryEndIcon" | 54 style="@style/HistoryEndIcon" |
55 android:contentDescription="@string/remove" | 55 android:contentDescription="@string/remove" |
56 android:src="@drawable/btn_trash" | 56 android:src="@drawable/btn_trash" |
57 chrome:tint="@color/dark_mode_tint" /> | 57 chrome:tint="@color/dark_mode_tint" /> |
58 </LinearLayout> | 58 </LinearLayout> |
59 | 59 |
60 </org.chromium.chrome.browser.history.HistoryItemView> | 60 </org.chromium.chrome.browser.history.HistoryItemView> |
OLD | NEW |