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$
EnhancedBookmarkGridItem" |
| 7 xmlns:android="http://schemas.android.com/apk/res/android" |
| 8 xmlns:chrome="http://schemas.android.com/apk/res-auto" |
| 9 android:layout_width="match_parent" |
| 10 android:layout_height="wrap_content" |
| 11 android:background="@drawable/eb_item_tile" > |
| 12 |
| 13 <!-- TODO(kkimlabs): Add content descrption to the ImageViews --> |
| 14 |
| 15 <LinearLayout |
| 16 android:layout_width="match_parent" |
| 17 android:layout_height="wrap_content" |
| 18 android:orientation="vertical" > |
| 19 |
| 20 <FrameLayout |
| 21 android:layout_width="match_parent" |
| 22 android:layout_height="wrap_content" > |
| 23 |
| 24 <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkSalie
ntImageView |
| 25 android:id="@+id/bookamrk_image" |
| 26 android:layout_width="match_parent" |
| 27 android:layout_height="75dp" |
| 28 android:contentDescription="@null" /> |
| 29 |
| 30 <org.chromium.chrome.browser.widget.TintedImageButton |
| 31 android:id="@+id/more" |
| 32 android:layout_width="wrap_content" |
| 33 android:layout_height="wrap_content" |
| 34 android:layout_gravity="end|top" |
| 35 android:background="@null" |
| 36 android:contentDescription="@string/accessibility_enhanced_bookm
ark_more_info" |
| 37 android:paddingTop="5dp" |
| 38 android:paddingEnd="1dp" |
| 39 android:paddingStart="20dp" |
| 40 android:paddingBottom="20dp" |
| 41 android:src="@drawable/eb_item_more" |
| 42 chrome:tint="@color/light_mode_tint" /> |
| 43 |
| 44 <TextView |
| 45 android:id="@+id/folder_title" |
| 46 android:layout_width="wrap_content" |
| 47 android:layout_height="wrap_content" |
| 48 android:layout_gravity="start|bottom" |
| 49 android:background="#CC000000" |
| 50 android:ellipsize="end" |
| 51 android:paddingEnd="5dp" |
| 52 android:paddingStart="5dp" |
| 53 android:singleLine="true" |
| 54 android:textColor="@android:color/white" |
| 55 android:textSize="12sp" /> |
| 56 </FrameLayout> |
| 57 |
| 58 <TextView |
| 59 android:id="@+id/title" |
| 60 android:layout_width="match_parent" |
| 61 android:layout_height="wrap_content" |
| 62 android:ellipsize="end" |
| 63 android:paddingStart="12dp" |
| 64 android:paddingEnd="12dp" |
| 65 android:paddingTop="8dp" |
| 66 android:paddingBottom="1dp" |
| 67 android:lines="2" |
| 68 android:textColor="#DE000000" |
| 69 android:textSize="16sp" /> |
| 70 |
| 71 <TextView |
| 72 android:id="@+id/url" |
| 73 android:layout_width="match_parent" |
| 74 android:layout_height="wrap_content" |
| 75 android:paddingStart="12dp" |
| 76 android:paddingEnd="12dp" |
| 77 android:paddingBottom="12dp" |
| 78 android:ellipsize="end" |
| 79 android:singleLine="true" |
| 80 android:textColor="#8A000000" |
| 81 android:textSize="12sp" /> |
| 82 |
| 83 </LinearLayout> |
| 84 |
| 85 <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkItemHighlight
View |
| 86 android:id="@+id/highlight" |
| 87 android:layout_width="match_parent" |
| 88 android:layout_height="match_parent" /> |
| 89 |
| 90 </view> |
OLD | NEW |