Index: chrome/android/java_staging/res/layout/eb_search_result_item.xml |
diff --git a/chrome/android/java_staging/res/layout/eb_search_result_item.xml b/chrome/android/java_staging/res/layout/eb_search_result_item.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..246730ebcc23d4bbd0286af0b79615c574c90404 |
--- /dev/null |
+++ b/chrome/android/java_staging/res/layout/eb_search_result_item.xml |
@@ -0,0 +1,54 @@ |
+<?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. --> |
+ |
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:orientation="horizontal" |
+ android:padding="12dp" |
+ android:paddingStart="0dp" > |
+ |
+ <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkSalientImageView |
+ android:id="@+id/round_image" |
+ android:layout_width="40dp" |
+ android:layout_height="40dp" |
+ android:layout_marginEnd="16dp" |
+ android:layout_marginStart="16dp" |
+ android:scaleType="center" /> |
+ |
+ <LinearLayout |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:orientation="vertical" > |
+ |
+ <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="12sp" /> |
+ |
+ <TextView |
+ android:id="@+id/description" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:ellipsize="end" |
+ android:maxLines="3" |
+ android:paddingTop="5dp" |
+ android:textColor="#d9000000" |
+ android:textSize="14sp" |
+ android:visibility="gone" /> |
+ </LinearLayout> |
+ |
+</LinearLayout> |