blob: 5426f6192a8ce14a61932bcb82c3f4138c4d7f2f [file] [log] [blame]
Leon Scroggins0a64ba52009-09-08 15:35:33 -04001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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"
18 android:layout_height="wrap_content"
19 android:minHeight="?android:attr/listPreferredItemHeight"
Romain Guy15b8ec62010-01-08 15:06:43 -080020 android:layout_width="match_parent"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040021 android:orientation="horizontal"
22 android:gravity="center_vertical"
John Reck18e93f72011-03-21 11:46:09 -070023 android:paddingLeft="8dip"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040024 >
Patrick Scott555c5802009-09-23 08:08:17 -040025 <ImageView android:id="@+id/favicon"
John Reck18e93f72011-03-21 11:46:09 -070026 android:layout_height="32dip"
27 android:layout_width="32dip"
28 android:layout_gravity="center_vertical"
29 android:background="@drawable/bookmark_list_favicon_bg"
30 android:scaleType="fitXY" />
Leon Scroggins0a64ba52009-09-08 15:35:33 -040031 <LinearLayout
32 android:layout_width="0dip"
33 android:layout_height="wrap_content"
34 android:layout_weight="1"
35 android:orientation="vertical"
John Reck18e93f72011-03-21 11:46:09 -070036 android:paddingLeft="8dip"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040037 >
38 <TextView android:id="@+id/title"
Romain Guy15b8ec62010-01-08 15:06:43 -080039 android:layout_width="match_parent"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040040 android:layout_height="wrap_content"
41 android:textAppearance="?android:attr/textAppearanceMedium"
42 android:maxLines="1"
43 android:singleLine="true"
44 android:ellipsize="end"
45 />
46 <TextView android:id="@+id/url"
Romain Guy15b8ec62010-01-08 15:06:43 -080047 android:layout_width="match_parent"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040048 android:layout_height="wrap_content"
49 android:textAppearance="?android:attr/textAppearanceSmall"
50 android:maxLines="1"
51 android:singleLine="true"
52 android:ellipsize="end"
53 />
54 </LinearLayout>
Leon Scrogginsb17d2eb2009-09-11 11:12:58 -040055 <View android:id="@+id/divider"
John Reck18e93f72011-03-21 11:46:09 -070056 android:background="?android:attr/dividerVertical"
57 android:layout_width="1dp"
Romain Guy15b8ec62010-01-08 15:06:43 -080058 android:layout_height="match_parent"
Leon Scrogginsb17d2eb2009-09-11 11:12:58 -040059 android:layout_marginLeft="8dip"
60 android:layout_marginTop="5dip"
61 android:layout_marginBottom="5dip"
62 />
Leon Scrogginsa3315562009-09-18 14:21:08 -040063 <view class="com.android.browser.ActiveTabsPage$CloseHolder" android:id="@+id/close"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040064 android:layout_width="wrap_content"
Romain Guy15b8ec62010-01-08 15:06:43 -080065 android:layout_height="match_parent"
John Reck18e93f72011-03-21 11:46:09 -070066 android:paddingLeft="12dip"
67 android:paddingRight="12dip"
68 android:background="@drawable/bookmark_thumb_selector"
69 android:src="@drawable/ic_close_window_holo_dark"
Leon Scrogginsa3315562009-09-18 14:21:08 -040070 android:scaleType="center"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040071 />
72</LinearLayout>