blob: 885f4cf110e793c9da630e4d9463b7eaae8dc3a6 [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"
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"
Romain Guy15b8ec62010-01-08 15:06:43 -080040 android:layout_width="match_parent"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040041 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"
Romain Guy15b8ec62010-01-08 15:06:43 -080048 android:layout_width="match_parent"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040049 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"
Romain Guy15b8ec62010-01-08 15:06:43 -080059 android:layout_height="match_parent"
Leon Scrogginsb17d2eb2009-09-11 11:12:58 -040060 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"
Romain Guy15b8ec62010-01-08 15:06:43 -080066 android:layout_height="match_parent"
Leon Scrogginsa3315562009-09-18 14:21:08 -040067 android:paddingLeft="18dip"
68 android:paddingRight="18dip"
69 android:background="@drawable/close_background"
Leon Scroggins8d19cb82009-09-28 15:56:52 -040070 android:src="@drawable/btn_close_window"
Leon Scrogginsa3315562009-09-18 14:21:08 -040071 android:scaleType="center"
Leon Scroggins0a64ba52009-09-08 15:35:33 -040072 />
73</LinearLayout>