blob: 3b3dd7a10c64367471568b9f199f84f9c5c0f7f1 [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
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy15b8ec62010-01-08 15:06:43 -080018 android:layout_width="match_parent"
The Android Open Source Project0c908882009-03-03 19:32:16 -080019 android:layout_height="wrap_content"
20 android:minHeight="?android:attr/listPreferredItemHeight"
21 android:orientation="horizontal"
John Reck0ce8a942011-01-14 19:57:09 -080022 android:paddingLeft="20dip"
The Android Open Source Project0c908882009-03-03 19:32:16 -080023 >
24 <ImageView 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"
28 android:scaleType="fitXY"
29 android:background="@drawable/bookmark_list_favicon_bg"
The Android Open Source Project0c908882009-03-03 19:32:16 -080030 android:src="@drawable/app_web_browser_sm"
31 />
32 <LinearLayout android:layout_width="0dip"
33 android:layout_weight="1"
34 android:layout_height="wrap_content"
35 android:orientation="vertical"
John Reck0ce8a942011-01-14 19:57:09 -080036 android:paddingLeft="16dip"
37 android:layout_gravity="center_vertical"
The Android Open Source Project0c908882009-03-03 19:32:16 -080038 >
39 <TextView android:id="@+id/title"
40 android:textAppearance="?android:attr/textAppearanceMedium"
41 android:maxLines="1"
42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
44 android:singleLine="true"
45 android:ellipsize="end"
46 />
47 <TextView android:id="@+id/url"
48 android:textAppearance="?android:attr/textAppearanceSmall"
49 android:maxLines="1"
50 android:layout_width="wrap_content"
51 android:layout_height="wrap_content"
52 android:singleLine="true"
53 android:ellipsize="end"
54 />
55 </LinearLayout>
56 <CheckBox android:id="@+id/star"
57 android:layout_width="wrap_content"
John Reck0ce8a942011-01-14 19:57:09 -080058 android:layout_height="wrap_content"
59 android:paddingTop="16dip"
60 android:paddingBottom="16dip"
61 android:paddingRight="20dip"
62 android:paddingLeft="16dip"
The Android Open Source Project0c908882009-03-03 19:32:16 -080063 android:focusable="false"
John Reck0ce8a942011-01-14 19:57:09 -080064 android:button="@drawable/btn_checkbox_star"
65 android:layout_gravity="center_vertical"
The Android Open Source Project0c908882009-03-03 19:32:16 -080066 />
67</LinearLayout>