blob: ad072809110606d952ab1b1a6b61b4c2d7250999 [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 Reck83c01512011-09-09 11:14:16 -070022 android:paddingLeft="12dip"
23 android:paddingRight="8dip"
The Android Open Source Project0c908882009-03-03 19:32:16 -080024 >
25 <ImageView android:id="@+id/favicon"
John Reck0ce8a942011-01-14 19:57:09 -080026 android:layout_width="32dip"
27 android:layout_height="32dip"
28 android:layout_gravity="center_vertical"
29 android:scaleType="fitXY"
30 android:background="@drawable/bookmark_list_favicon_bg"
The Android Open Source Project0c908882009-03-03 19:32:16 -080031 android:src="@drawable/app_web_browser_sm"
32 />
33 <LinearLayout android:layout_width="0dip"
34 android:layout_weight="1"
35 android:layout_height="wrap_content"
36 android:orientation="vertical"
John Reck83c01512011-09-09 11:14:16 -070037 android:paddingLeft="8dip"
38 android:paddingRight="8dip"
John Reck0ce8a942011-01-14 19:57:09 -080039 android:layout_gravity="center_vertical"
The Android Open Source Project0c908882009-03-03 19:32:16 -080040 >
41 <TextView android:id="@+id/title"
42 android:textAppearance="?android:attr/textAppearanceMedium"
43 android:maxLines="1"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:singleLine="true"
John Reck83c01512011-09-09 11:14:16 -070047 android:ellipsize="end"
The Android Open Source Project0c908882009-03-03 19:32:16 -080048 />
49 <TextView android:id="@+id/url"
50 android:textAppearance="?android:attr/textAppearanceSmall"
51 android:maxLines="1"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:singleLine="true"
John Reck83c01512011-09-09 11:14:16 -070055 android:ellipsize="middle"
The Android Open Source Project0c908882009-03-03 19:32:16 -080056 />
57 </LinearLayout>
58 <CheckBox android:id="@+id/star"
59 android:layout_width="wrap_content"
John Reck0ce8a942011-01-14 19:57:09 -080060 android:layout_height="wrap_content"
61 android:paddingTop="16dip"
62 android:paddingBottom="16dip"
John Reck83c01512011-09-09 11:14:16 -070063 android:paddingRight="8dip"
64 android:paddingLeft="8dip"
The Android Open Source Project0c908882009-03-03 19:32:16 -080065 android:focusable="false"
John Reck0ce8a942011-01-14 19:57:09 -080066 android:button="@drawable/btn_checkbox_star"
67 android:layout_gravity="center_vertical"
The Android Open Source Project0c908882009-03-03 19:32:16 -080068 />
69</LinearLayout>