blob: f6b7af33da74e327fee8ebee37b8fcd047ba8bfd [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 >
Patrick Scott555c5802009-09-23 08:08:17 -040024 <!-- This ImageView has the same width as the ImageView in
25 tab_view_add_tab.xml. -->
26 <ImageView android:id="@+id/favicon"
27 android:layout_width="20dip"
28 android:layout_height="20dip"
29 android:layout_marginLeft="18dip"
30 android:layout_marginRight="18dip"
31 android:background="@drawable/fav_icn_background"
32 android:padding="2dip"/>
Leon Scroggins0a64ba52009-09-08 15:35:33 -040033 <LinearLayout
34 android:layout_width="0dip"
35 android:layout_height="wrap_content"
36 android:layout_weight="1"
37 android:orientation="vertical"
38 >
39 <TextView android:id="@+id/title"
40 android:layout_width="fill_parent"
41 android:layout_height="wrap_content"
42 android:textAppearance="?android:attr/textAppearanceMedium"
43 android:maxLines="1"
44 android:singleLine="true"
45 android:ellipsize="end"
46 />
47 <TextView android:id="@+id/url"
48 android:layout_width="fill_parent"
49 android:layout_height="wrap_content"
50 android:textAppearance="?android:attr/textAppearanceSmall"
51 android:maxLines="1"
52 android:singleLine="true"
53 android:ellipsize="end"
54 />
55 </LinearLayout>
Leon Scrogginsb17d2eb2009-09-11 11:12:58 -040056 <View android:id="@+id/divider"
57 android:background="#ff313431"
58 android:layout_width="1dip"
59 android:layout_height="fill_parent"
60 android:layout_marginLeft="8dip"
61 android:layout_marginTop="5dip"
62 android:layout_marginBottom="5dip"
63 />
Leon Scrogginsa3315562009-09-18 14:21:08 -040064 <view class="com.android.browser.ActiveTabsPage$CloseHolder" android:id="@+id/close"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040065 android:layout_width="wrap_content"
Leon Scrogginsa3315562009-09-18 14:21:08 -040066 android:layout_height="fill_parent"
67 android:paddingLeft="18dip"
68 android:paddingRight="18dip"
69 android:background="@drawable/close_background"
70 android:src="@drawable/ic_btn_close_panel"
71 android:scaleType="center"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040072 />
73</LinearLayout>