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