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 <!-- TODO(twellington): remove start/end margin when new assets with | 12 <!-- TODO(twellington): remove start/end margin when new assets with |
13 correct built in padding are available. The end | 13 correct built in padding are available. The end |
14 padding is set programatically so margin is used | 14 padding is set programatically so margin is used |
15 rather than padding to achieve the correct visual | 15 rather than padding to achieve the correct visual |
16 effect. --> | 16 effect. --> |
17 <LinearLayout | 17 <LinearLayout |
18 android:id="@+id/content" | 18 android:id="@+id/content" |
19 android:layout_width="match_parent" | 19 android:layout_width="match_parent" |
20 android:layout_height="wrap_content" | 20 android:layout_height="wrap_content" |
21 android:paddingTop="16dp" | 21 android:paddingTop="16dp" |
22 android:paddingBottom="16dp" | 22 android:paddingBottom="16dp" |
23 android:layout_marginStart="1dp" | 23 android:layout_marginStart="@dimen/list_item_lateral_padding" |
24 android:layout_marginEnd="1dp" | 24 android:layout_marginEnd="@dimen/list_item_lateral_padding" |
25 android:orientation="horizontal" > | 25 android:orientation="horizontal" > |
26 | 26 |
27 <ImageView | 27 <ImageView |
28 android:id="@+id/icon_view" | 28 android:id="@+id/icon_view" |
29 style="@style/HistoryStartIcon" | 29 style="@style/HistoryStartIcon" |
30 android:contentDescription="@null" | 30 android:contentDescription="@null" |
31 android:src="@drawable/default_favicon" /> | 31 android:src="@drawable/default_favicon" /> |
32 | 32 |
33 <LinearLayout | 33 <LinearLayout |
34 android:layout_width="0dp" | 34 android:layout_width="0dp" |
(...skipping 23 matching lines...) Expand all Loading... |
58 | 58 |
59 <org.chromium.chrome.browser.widget.TintedImageButton | 59 <org.chromium.chrome.browser.widget.TintedImageButton |
60 android:id="@+id/remove" | 60 android:id="@+id/remove" |
61 style="@style/HistoryEndIcon" | 61 style="@style/HistoryEndIcon" |
62 android:contentDescription="@string/remove" | 62 android:contentDescription="@string/remove" |
63 android:src="@drawable/btn_trash" | 63 android:src="@drawable/btn_trash" |
64 chrome:tint="@color/dark_mode_tint" /> | 64 chrome:tint="@color/dark_mode_tint" /> |
65 </LinearLayout> | 65 </LinearLayout> |
66 | 66 |
67 </org.chromium.chrome.browser.history.HistoryItemView> | 67 </org.chromium.chrome.browser.history.HistoryItemView> |
OLD | NEW |