blob: 167621e55abdd8e9fc0a8036e18654fdfd3b2f1f [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"
20 android:layout_width="fill_parent"
21 android:orientation="horizontal"
22 android:gravity="center_vertical"
23 >
24 <com.android.browser.FakeWebView android:id="@+id/screen_shot"
25 android:layout_width="40dip"
26 android:layout_height="40dip"
Leon Scrogginsb17d2eb2009-09-11 11:12:58 -040027 android:layout_marginLeft="8dip"
28 android:layout_marginRight="8dip"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040029 />
30 <LinearLayout
31 android:layout_width="0dip"
32 android:layout_height="wrap_content"
33 android:layout_weight="1"
34 android:orientation="vertical"
35 >
36 <TextView android:id="@+id/title"
37 android:layout_width="fill_parent"
38 android:layout_height="wrap_content"
39 android:textAppearance="?android:attr/textAppearanceMedium"
40 android:maxLines="1"
41 android:singleLine="true"
42 android:ellipsize="end"
43 />
44 <TextView android:id="@+id/url"
45 android:layout_width="fill_parent"
46 android:layout_height="wrap_content"
47 android:textAppearance="?android:attr/textAppearanceSmall"
48 android:maxLines="1"
49 android:singleLine="true"
50 android:ellipsize="end"
51 />
52 </LinearLayout>
Leon Scrogginsb17d2eb2009-09-11 11:12:58 -040053 <View android:id="@+id/divider"
54 android:background="#ff313431"
55 android:layout_width="1dip"
56 android:layout_height="fill_parent"
57 android:layout_marginLeft="8dip"
58 android:layout_marginTop="5dip"
59 android:layout_marginBottom="5dip"
60 />
Leon Scroggins0a64ba52009-09-08 15:35:33 -040061 <ImageView android:id="@+id/close"
Leon Scrogginsb17d2eb2009-09-11 11:12:58 -040062 android:src="@drawable/ic_btn_close_panel"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040063 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
Leon Scrogginsb17d2eb2009-09-11 11:12:58 -040065 android:layout_marginLeft="8dip"
66 android:layout_marginRight="8dip"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040067 />
68</LinearLayout>