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="@dimen/selectable_list_layout_start_icon_width
" | 20 android:layout_width="@dimen/selectable_list_layout_start_icon_width
" |
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 <TextView | 25 <TextView |
26 android:id="@+id/title" | 26 android:id="@+id/title" |
27 android:layout_width="0dp" | 27 android:layout_width="0dp" |
28 android:layout_height="wrap_content" | 28 android:layout_height="wrap_content" |
29 android:layout_weight="1" | 29 android:layout_weight="1" |
30 android:minHeight="48dp" | 30 android:minHeight="48dp" |
31 android:singleLine="true" | 31 android:singleLine="true" |
32 android:gravity="center_vertical" | 32 android:gravity="center_vertical" |
33 android:textAlignment="viewStart" | 33 android:textAlignment="viewStart" |
34 android:textColor="@color/default_text_color" | 34 android:textColor="@color/default_text_color" |
35 android:textSize="16sp" /> | 35 android:textSize="16sp" |
| 36 android:paddingStart="16dp" /> |
36 | 37 |
37 <org.chromium.chrome.browser.widget.TintedImageButton | 38 <org.chromium.chrome.browser.widget.TintedImageButton |
38 android:id="@+id/more" | 39 android:id="@+id/more" |
39 android:layout_width="wrap_content" | 40 android:layout_width="wrap_content" |
40 android:layout_height="match_parent" | 41 android:layout_height="match_parent" |
41 android:visibility="gone" | 42 android:visibility="gone" |
42 android:background="@null" | 43 android:background="@null" |
43 android:contentDescription="@string/accessibility_bookmark_more_info
" | 44 android:contentDescription="@string/accessibility_bookmark_more_info
" |
44 android:paddingEnd="16dp" | 45 android:paddingEnd="16dp" |
45 android:paddingStart="16dp" | 46 android:paddingStart="16dp" |
46 android:src="@drawable/btn_menu" | 47 android:src="@drawable/btn_menu" |
47 chrome:tint="@color/dark_mode_tint" /> | 48 chrome:tint="@color/dark_mode_tint" /> |
48 </LinearLayout> | 49 </LinearLayout> |
49 | 50 |
50 </merge> | 51 </merge> |
OLD | NEW |