blob: 3cc25acc96c37e7c789c300c859f828b34d7d10a [file] [log] [blame]
Leon Scroggins81db3662009-06-04 17:45:11 -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:fitsSystemWindows="true"
19 android:orientation="horizontal"
20 android:layout_width="fill_parent"
Leon Scroggins1f005d32009-08-10 17:36:42 -040021 android:background="@drawable/tab_selected"
Leon Scroggins81db3662009-06-04 17:45:11 -040022 android:layout_height="45dip">
23 <ImageView android:id="@+id/favicon"
24 android:layout_height="20dip"
25 android:layout_width="20dip"
26 android:layout_marginLeft="6dip"
27 android:layout_marginRight="6dip"
28 android:layout_gravity="center_vertical"
29 />
30 <!-- layout which contains the title, progress bar, and url -->
31 <LinearLayout
32 android:orientation="vertical"
33 android:layout_width="0dip"
34 android:layout_weight="1"
35 android:layout_height="wrap_content">
36 <!-- This part contains the favicon and the progress bar -->
Leon Scroggins1f005d32009-08-10 17:36:42 -040037 <LinearLayout
38 android:orientation="vertical"
39 android:layout_marginTop="0dip"
Leon Scroggins81db3662009-06-04 17:45:11 -040040 android:layout_height="wrap_content"
41 android:layout_width="fill_parent"
42 >
Leon Scroggins1f005d32009-08-10 17:36:42 -040043 <!-- need to make this no wider than the horizontal progress bar -->
44 <TextView android:id="@+id/title"
45 android:layout_height="wrap_content"
46 android:layout_width="wrap_content"
47 android:layout_marginLeft="6dip"
48 android:layout_marginTop="0dip"
49 android:textSize="14dip"
50 android:textColor="@color/white"
51 android:textStyle="bold"
52 android:singleLine="true"
53 android:padding="0dip"
54 />
Leon Scroggins81db3662009-06-04 17:45:11 -040055 <LinearLayout
56 android:orientation="horizontal"
Leon Scroggins81db3662009-06-04 17:45:11 -040057 android:layout_width="fill_parent"
58 android:layout_height="wrap_content">
Leon Scroggins1f005d32009-08-10 17:36:42 -040059 <TextView android:id="@+id/url"
60 android:layout_width="wrap_content"
Leon Scroggins81db3662009-06-04 17:45:11 -040061 android:layout_height="wrap_content"
Leon Scroggins1f005d32009-08-10 17:36:42 -040062 android:layout_marginLeft="6dip"
63 android:textSize="11dip"
64 android:padding="0dip"
65 android:textColor="@color/white"
66 android:singleLine="true"
67 />
Leon Scroggins81db3662009-06-04 17:45:11 -040068 <ProgressBar android:id="@+id/progress_circular"
69 style="?android:attr/progressBarStyleSmallTitle"
70 android:layout_marginLeft="3dip"
71 android:layout_gravity="center_vertical"
72 android:max="100"
73 android:layout_width="wrap_content"
74 android:layout_height="wrap_content" />
Leon Scroggins81db3662009-06-04 17:45:11 -040075 <ImageView android:id="@+id/lock_icon"
76 android:layout_height="wrap_content"
77 android:layout_width="wrap_content"
78 android:layout_alignBottom="@id/title"
79 android:layout_alignParentRight="true"
80 android:visibility="gone"/>
Leon Scroggins1f005d32009-08-10 17:36:42 -040081 </LinearLayout>
82 <ProgressBar android:id="@+id/progress_horizontal"
83 style="?android:attr/progressBarStyleHorizontal"
84 android:layout_width="fill_parent"
85 android:layout_weight="1"
86 android:layout_height="5dip"
87 android:max="100" />
88 </LinearLayout>
Leon Scroggins81db3662009-06-04 17:45:11 -040089 </LinearLayout>
Leon Scroggins1f005d32009-08-10 17:36:42 -040090 <!-- This buttons will change look/functionality -->
Leon Scrogginse4b3bda2009-06-09 15:46:41 -040091 <ImageView android:id="@+id/rt_button"
Leon Scroggins81db3662009-06-04 17:45:11 -040092 android:layout_width="52dip"
93 android:layout_height="wrap_content"
Leon Scrogginse4b3bda2009-06-09 15:46:41 -040094 android:layout_gravity="center_vertical"
Leon Scroggins1f005d32009-08-10 17:36:42 -040095 android:src="@drawable/ic_close_tab"/>
Leon Scroggins81db3662009-06-04 17:45:11 -040096</LinearLayout>