Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / android / java / res / layout / eb_row_content.xml
blob82871cd9ee64f9c111216a90b0d79164797798c1
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
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
5      found in the LICENSE file.
6 -->
8 <merge xmlns:android="http://schemas.android.com/apk/res/android"
9     xmlns:chrome="http://schemas.android.com/apk/res-auto" >
11     <LinearLayout
12         android:layout_width="match_parent"
13         android:layout_height="match_parent"
14         android:gravity="center_vertical"
15         android:orientation="horizontal" >
17         <ImageView
18             android:id="@+id/bookmark_image"
19             android:layout_width="64dp"
20             android:layout_height="match_parent"
21             android:contentDescription="@null"
22             android:scaleType="center" />
24         <LinearLayout
25             android:layout_width="0dp"
26             android:layout_height="wrap_content"
27             android:layout_weight="1"
28             android:orientation="vertical" >
30             <TextView
31                 android:id="@+id/title"
32                 android:layout_width="match_parent"
33                 android:layout_height="wrap_content"
34                 android:singleLine="true"
35                 android:textAlignment="viewStart"
36                 android:textColor="@color/default_text_color"
37                 android:textSize="16sp" />
39             <TextView
40                 android:id="@+id/offline_page_size"
41                 android:layout_width="match_parent"
42                 android:layout_height="wrap_content"
43                 android:singleLine="true"
44                 android:textAlignment="viewStart"
45                 android:textColor="@color/secondary_text_default_material_light"
46                 android:textSize="15sp"
47                 android:visibility="gone" />
49         </LinearLayout>
51         <org.chromium.chrome.browser.widget.TintedImageButton
52             android:id="@+id/more"
53             android:layout_width="wrap_content"
54             android:layout_height="match_parent"
55             android:visibility="gone"
56             android:background="@null"
57             android:contentDescription="@string/accessibility_enhanced_bookmark_more_info"
58             android:paddingEnd="16dp"
59             android:paddingStart="16dp"
60             android:src="@drawable/eb_item_more"
61             chrome:tint="@color/dark_mode_tint" />
62     </LinearLayout>
64     <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkItemHighlightView
65         android:id="@+id/highlight"
66         android:layout_width="match_parent"
67         android:layout_height="match_parent" />
69 </merge>