blob: 9fdddeb14125a981bb49bc001f337b575b483021 [file] [log] [blame]
Michael Kolbfe251992010-07-08 15:41:55 -07001<?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright 2010, The Android Open Source Project Licensed under the
4 Apache License, Version 2.0 (the "License"); you may not use this file
5 except in compliance with the License. You may obtain a copy of the
6 License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
7 applicable law or agreed to in writing, software distributed under the
8 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9 CONDITIONS OF ANY KIND, either express or implied. See the License for
10 the specific language governing permissions and limitations under the
11 License.
12 -->
Michael Kolbed217742010-08-10 17:52:34 -070013<merge
Michael Kolbfe251992010-07-08 15:41:55 -070014 xmlns:android="http://schemas.android.com/apk/res/android"
15 android:layout_width="0dip"
16 android:layout_weight="1.0"
Michael Kolba2b2ba82010-08-04 17:54:03 -070017 android:layout_height="match_parent"
Michael Kolbfe251992010-07-08 15:41:55 -070018 android:gravity="center_vertical"
Michael Kolba2b2ba82010-08-04 17:54:03 -070019 android:orientation="horizontal"
20 android:background="@drawable/tab_background" >
Michael Kolbfe251992010-07-08 15:41:55 -070021 <ImageView
22 android:id="@+id/favicon"
23 android:layout_width="20dip"
24 android:layout_height="20dip"
25 android:layout_marginLeft="3dip" />
26 <ImageView
27 android:id="@+id/lock"
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 android:layout_marginLeft="6dip"
31 android:visibility="gone" />
32 <TextView
33 android:id="@+id/title"
Michael Kolba2b2ba82010-08-04 17:54:03 -070034 android:layout_height="match_parent"
Michael Kolbfe251992010-07-08 15:41:55 -070035 android:layout_width="0dip"
36 android:layout_weight="1.0"
37 android:layout_marginLeft="3dip"
Michael Kolba2b2ba82010-08-04 17:54:03 -070038 android:textAppearance="?android:attr/textAppearanceSmall"
Michael Kolbfe251992010-07-08 15:41:55 -070039 android:textColor="@color/black"
Michael Kolba2b2ba82010-08-04 17:54:03 -070040 android:gravity="center_vertical|center_horizontal"
Michael Kolbfe251992010-07-08 15:41:55 -070041 android:singleLine="true"
42 android:ellipsize="end" />
Michael Kolbfe251992010-07-08 15:41:55 -070043 <ImageView
44 android:id="@+id/close"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:layout_marginLeft="6dip"
48 android:src="@drawable/btn_close_window" />
Michael Kolbed217742010-08-10 17:52:34 -070049</merge>