blob: 031958f6a19f74cf4121a37b165c2339c6019ae6 [file] [log] [blame]
The Android Open Source Project0c908882009-03-03 19:32:16 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
Enrico Rosd6efa972014-12-02 19:49:59 -080017<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content"
20 android:minHeight="?android:attr/listPreferredItemHeight"
21 android:orientation="horizontal">
22
23 <ImageView
24 android:id="@+id/favicon"
John Reck0ce8a942011-01-14 19:57:09 -080025 android:layout_width="32dip"
26 android:layout_height="32dip"
27 android:layout_gravity="center_vertical"
Enrico Rosd6efa972014-12-02 19:49:59 -080028 android:layout_marginLeft="12dip"
John Reck0ce8a942011-01-14 19:57:09 -080029 android:background="@drawable/bookmark_list_favicon_bg"
Enrico Rosd6efa972014-12-02 19:49:59 -080030 android:scaleType="fitXY"
31 android:src="@drawable/ic_deco_favicon_normal" />
32
33 <LinearLayout
34 android:layout_width="0dip"
35 android:layout_height="wrap_content"
36 android:layout_gravity="center_vertical"
37 android:layout_weight="1"
38 android:orientation="vertical"
39 android:paddingLeft="8dip"
40 android:paddingRight="8dip">
41
42 <TextView
43 android:id="@+id/title"
The Android Open Source Project0c908882009-03-03 19:32:16 -080044 android:layout_width="wrap_content"
John Reck0ce8a942011-01-14 19:57:09 -080045 android:layout_height="wrap_content"
Enrico Rosd6efa972014-12-02 19:49:59 -080046 android:ellipsize="end"
47 android:maxLines="1"
48 android:singleLine="true"
49 android:textAppearance="?android:attr/textAppearanceMedium" />
50
51 <TextView
52 android:id="@+id/url"
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:ellipsize="middle"
56 android:maxLines="1"
57 android:singleLine="true"
58 android:textAppearance="?android:attr/textAppearanceSmall" />
59 </LinearLayout>
60
61 <CheckBox
62 android:id="@+id/star"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:layout_gravity="center"
66 android:button="@drawable/ic_action_bookmark"
67 android:focusable="false"
68 android:paddingBottom="16dip"
69 android:paddingLeft="8dip"
70 android:paddingRight="8dip"
71 android:paddingTop="16dip" />
The Android Open Source Project0c908882009-03-03 19:32:16 -080072</LinearLayout>