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. -->
6 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 android:id="@+id/list_item"
8 android:layout_width="match_parent"
9 android:layout_height="wrap_content" >
12 android:id="@+id/thumb"
13 android:layout_width="match_parent"
14 android:layout_height="@dimen/widget_thumbnail_height"
15 android:background="@drawable/border_thumb_bookmarks_widget_holo"
16 android:cropToPadding="true"
17 android:scaleType="fitEnd"
18 android:src="@drawable/thumbnail_bookmarks_widget_no_bookmark_holo"
19 android:contentDescription="@null" />
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:layout_alignBottom="@id/thumb"
25 android:layout_marginBottom="2dp"
26 android:layout_marginEnd="2dp"
27 android:layout_marginStart="2dp"
28 android:background="@drawable/overlay_url_bookmark_widget_holo" >
31 android:id="@+id/favicon"
32 android:layout_width="@dimen/widget_favicon_size"
33 android:layout_height="@dimen/widget_favicon_size"
34 android:layout_gravity="center_vertical"
35 android:layout_marginBottom="4dp"
36 android:layout_marginEnd="8dp"
37 android:layout_marginStart="4dp"
38 android:layout_marginTop="4dp"
39 android:scaleType="centerInside"
40 android:src="@drawable/globe_incognito_favicon"
41 android:contentDescription="@null" />
44 android:id="@+id/label"
45 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
47 android:layout_gravity="center_vertical"
48 android:ellipsize="end"
49 android:singleLine="true"
50 android:textColor="@android:color/black"
51 android:textSize="12sp"
52 android:typeface="sans" />