OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- | 2 <!-- |
3 Copyright 2015 The Chromium Authors. All rights reserved. | 3 Copyright 2015 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <merge xmlns:android="http://schemas.android.com/apk/res/android" | 8 <merge xmlns:android="http://schemas.android.com/apk/res/android" |
9 xmlns:chrome="http://schemas.android.com/apk/res-auto" > | 9 xmlns:chrome="http://schemas.android.com/apk/res-auto" > |
10 | 10 |
11 <LinearLayout | 11 <LinearLayout |
12 android:id="@+id/bookmark_row" | 12 android:id="@+id/bookmark_row" |
13 android:layout_width="match_parent" | 13 android:layout_width="match_parent" |
14 android:layout_height="wrap_content" | 14 android:layout_height="wrap_content" |
15 android:gravity="center_vertical" | 15 android:gravity="center_vertical" |
16 android:orientation="horizontal" > | 16 android:orientation="horizontal" > |
17 | 17 |
18 <ImageView | 18 <ImageView |
19 android:id="@+id/bookmark_image" | 19 android:id="@+id/bookmark_image" |
20 android:layout_width="64dp" | 20 android:layout_width="64dp" |
21 android:layout_height="match_parent" | 21 android:layout_height="match_parent" |
22 android:contentDescription="@null" | 22 android:contentDescription="@null" |
23 android:scaleType="center" /> | 23 android:scaleType="center" /> |
24 | 24 |
25 <LinearLayout | 25 <TextView |
| 26 android:id="@+id/title" |
26 android:layout_width="0dp" | 27 android:layout_width="0dp" |
27 android:layout_height="wrap_content" | 28 android:layout_height="wrap_content" |
28 android:layout_weight="1" | 29 android:layout_weight="1" |
29 android:minHeight="48dp" | 30 android:minHeight="48dp" |
| 31 android:singleLine="true" |
30 android:gravity="center_vertical" | 32 android:gravity="center_vertical" |
31 android:orientation="vertical" > | 33 android:textAlignment="viewStart" |
32 | 34 android:textColor="@color/default_text_color" |
33 <TextView | 35 android:textSize="16sp" /> |
34 android:id="@+id/title" | |
35 android:layout_width="match_parent" | |
36 android:layout_height="wrap_content" | |
37 android:singleLine="true" | |
38 android:textAlignment="viewStart" | |
39 android:textColor="@color/default_text_color" | |
40 android:textSize="16sp" /> | |
41 | |
42 <TextView | |
43 android:id="@+id/offline_page_size" | |
44 android:layout_width="match_parent" | |
45 android:layout_height="wrap_content" | |
46 android:singleLine="true" | |
47 android:textAlignment="viewStart" | |
48 android:textColor="@color/secondary_text_default_material_light" | |
49 android:textSize="15sp" | |
50 android:visibility="gone" /> | |
51 | |
52 </LinearLayout> | |
53 | 36 |
54 <org.chromium.chrome.browser.widget.TintedImageButton | 37 <org.chromium.chrome.browser.widget.TintedImageButton |
55 android:id="@+id/more" | 38 android:id="@+id/more" |
56 android:layout_width="wrap_content" | 39 android:layout_width="wrap_content" |
57 android:layout_height="match_parent" | 40 android:layout_height="match_parent" |
58 android:visibility="gone" | 41 android:visibility="gone" |
59 android:background="@null" | 42 android:background="@null" |
60 android:contentDescription="@string/accessibility_bookmark_more_info
" | 43 android:contentDescription="@string/accessibility_bookmark_more_info
" |
61 android:paddingEnd="16dp" | 44 android:paddingEnd="16dp" |
62 android:paddingStart="16dp" | 45 android:paddingStart="16dp" |
63 android:src="@drawable/btn_menu" | 46 android:src="@drawable/btn_menu" |
64 chrome:tint="@color/dark_mode_tint" /> | 47 chrome:tint="@color/dark_mode_tint" /> |
65 </LinearLayout> | 48 </LinearLayout> |
66 | 49 |
67 <org.chromium.chrome.browser.bookmarks.BookmarkItemHighlightView | 50 <org.chromium.chrome.browser.bookmarks.BookmarkItemHighlightView |
68 android:id="@+id/highlight" | 51 android:id="@+id/highlight" |
69 android:layout_width="match_parent" | 52 android:layout_width="match_parent" |
70 android:layout_height="match_parent" /> | 53 android:layout_height="match_parent" /> |
71 | 54 |
72 </merge> | 55 </merge> |
OLD | NEW |