OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> |
| 5 |
| 6 <view class="org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkItem$
EnhancedBookmarkListItem" |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 9 android:layout_width="wrap_content" |
| 10 android:layout_height="wrap_content" > |
| 11 |
| 12 <!-- TODO(kkimlabs): Add content descrption to the ImageViews --> |
| 13 |
| 14 <LinearLayout |
| 15 android:layout_width="match_parent" |
| 16 android:layout_height="wrap_content" |
| 17 android:orientation="horizontal" |
| 18 android:padding="8dp" > |
| 19 |
| 20 <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkSalientIm
ageView |
| 21 android:id="@+id/bookamrk_image" |
| 22 android:layout_width="40dp" |
| 23 android:layout_height="40dp" |
| 24 android:layout_margin="8dp" |
| 25 android:layout_gravity="start|center" |
| 26 android:scaleType="center" |
| 27 android:contentDescription="@null" /> |
| 28 |
| 29 <LinearLayout |
| 30 android:layout_width="match_parent" |
| 31 android:layout_height="wrap_content" |
| 32 android:orientation="vertical" |
| 33 android:padding="8dp" |
| 34 android:paddingEnd="22dp" > |
| 35 |
| 36 <TextView |
| 37 android:id="@+id/title" |
| 38 android:layout_width="wrap_content" |
| 39 android:layout_height="wrap_content" |
| 40 android:singleLine="true" |
| 41 android:textColor="#d9000000" |
| 42 android:textSize="16sp" /> |
| 43 |
| 44 <TextView |
| 45 android:id="@+id/url" |
| 46 android:layout_width="wrap_content" |
| 47 android:layout_height="wrap_content" |
| 48 android:singleLine="true" |
| 49 android:textColor="#8c000000" |
| 50 android:textSize="14sp" /> |
| 51 |
| 52 <TextView |
| 53 android:id="@+id/folder_title" |
| 54 android:layout_width="0dp" |
| 55 android:layout_height="0dp" /> |
| 56 |
| 57 </LinearLayout> |
| 58 </LinearLayout> |
| 59 |
| 60 <org.chromium.chrome.browser.widget.TintedImageButton |
| 61 android:id="@+id/more" |
| 62 android:layout_width="wrap_content" |
| 63 android:layout_height="wrap_content" |
| 64 android:layout_gravity="end|center" |
| 65 android:background="@null" |
| 66 android:contentDescription="@string/accessibility_enhanced_bookmark_more
_info" |
| 67 android:padding="10dp" |
| 68 android:paddingStart="20dp" |
| 69 android:src="@drawable/eb_item_more" |
| 70 chrome:tint="@color/dark_mode_tint" /> |
| 71 |
| 72 <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkItemHighlight
View |
| 73 android:id="@+id/highlight" |
| 74 android:layout_width="match_parent" |
| 75 android:layout_height="match_parent" /> |
| 76 </view> |
OLD | NEW |