Index: chrome/android/java_staging/res/layout/eb_list_item.xml |
diff --git a/chrome/android/java_staging/res/layout/eb_list_item.xml b/chrome/android/java_staging/res/layout/eb_list_item.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fc984360175559f447ed4955c7b2a4a79fc2bc8a |
--- /dev/null |
+++ b/chrome/android/java_staging/res/layout/eb_list_item.xml |
@@ -0,0 +1,76 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- Copyright 2015 The Chromium Authors. All rights reserved. |
+ Use of this source code is governed by a BSD-style license that can be |
+ found in the LICENSE file. --> |
+ |
+<view class="org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkItem$EnhancedBookmarkListItem" |
+ xmlns:android="http://schemas.android.com/apk/res/android" |
+ xmlns:chrome="http://schemas.android.com/apk/res-auto" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" > |
+ |
+ <!-- TODO(kkimlabs): Add content descrption to the ImageViews --> |
+ |
+ <LinearLayout |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:orientation="horizontal" |
+ android:padding="8dp" > |
+ |
+ <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkSalientImageView |
+ android:id="@+id/bookamrk_image" |
+ android:layout_width="40dp" |
+ android:layout_height="40dp" |
+ android:layout_margin="8dp" |
+ android:layout_gravity="start|center" |
+ android:scaleType="center" |
+ android:contentDescription="@null" /> |
+ |
+ <LinearLayout |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:orientation="vertical" |
+ android:padding="8dp" |
+ android:paddingEnd="22dp" > |
+ |
+ <TextView |
+ android:id="@+id/title" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:singleLine="true" |
+ android:textColor="#d9000000" |
+ android:textSize="16sp" /> |
+ |
+ <TextView |
+ android:id="@+id/url" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:singleLine="true" |
+ android:textColor="#8c000000" |
+ android:textSize="14sp" /> |
+ |
+ <TextView |
+ android:id="@+id/folder_title" |
+ android:layout_width="0dp" |
+ android:layout_height="0dp" /> |
+ |
+ </LinearLayout> |
+ </LinearLayout> |
+ |
+ <org.chromium.chrome.browser.widget.TintedImageButton |
+ android:id="@+id/more" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:layout_gravity="end|center" |
+ android:background="@null" |
+ android:contentDescription="@string/accessibility_enhanced_bookmark_more_info" |
+ android:padding="10dp" |
+ android:paddingStart="20dp" |
+ android:src="@drawable/eb_item_more" |
+ chrome:tint="@color/dark_mode_tint" /> |
+ |
+ <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkItemHighlightView |
+ android:id="@+id/highlight" |
+ android:layout_width="match_parent" |
+ android:layout_height="match_parent" /> |
+</view> |