blob: 7d9263d76b547f389205ced1b07c5b06789b268f [file] [log] [blame]
Michael Kolbf2055602011-04-09 17:20:03 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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
Michael Kolb2814a362011-05-19 15:49:41 -070017<LinearLayout
Michael Kolbf2055602011-04-09 17:20:03 -070018 xmlns:android="http://schemas.android.com/apk/res/android"
Michael Kolb2814a362011-05-19 15:49:41 -070019 android:id="@+id/main"
Michael Kolb4bd767d2011-05-27 11:33:55 -070020 android:layout_width="match_parent"
21 android:layout_height="wrap_content"
Michael Kolb2814a362011-05-19 15:49:41 -070022 android:paddingLeft="4dp"
23 android:paddingRight="4dp"
Michael Kolbf2055602011-04-09 17:20:03 -070024 android:orientation="vertical"
Michael Kolb2814a362011-05-19 15:49:41 -070025 android:focusable="false">
Michael Kolbf2055602011-04-09 17:20:03 -070026 <LinearLayout
27 android:id="@+id/titlebar"
28 android:orientation="horizontal"
29 android:layout_width="match_parent"
Michael Kolb2814a362011-05-19 15:49:41 -070030 android:layout_height="@dimen/toolbar_height"
Michael Kolb4bd767d2011-05-27 11:33:55 -070031 android:layout_gravity="center_horizontal"
Michael Kolb2814a362011-05-19 15:49:41 -070032 android:paddingLeft="4dip"
33 android:paddingRight="4dip"
34 android:paddingTop="2dip"
35 android:paddingBottom="2dip">
Michael Kolbf2055602011-04-09 17:20:03 -070036 <ImageView
37 android:id="@+id/favicon"
Michael Kolb5a4372f2011-04-29 13:53:10 -070038 android:layout_width="20dip"
39 android:layout_height="20dip"
Michael Kolbf2055602011-04-09 17:20:03 -070040 android:layout_marginLeft="4dip"
41 android:layout_marginRight="4dip"
Michael Kolbf2055602011-04-09 17:20:03 -070042 android:layout_gravity="center_vertical" />
43 <TextView
44 android:id="@+id/title"
45 android:layout_width="0dip"
Michael Kolb2814a362011-05-19 15:49:41 -070046 android:layout_height="match_parent"
Michael Kolbf2055602011-04-09 17:20:03 -070047 android:layout_weight="1.0"
Michael Kolb2814a362011-05-19 15:49:41 -070048 android:gravity="center_vertical"
Michael Kolbf2055602011-04-09 17:20:03 -070049 android:singleLine="true"
50 android:ellipsize="end"
51 android:lines="1"
Michael Kolb2814a362011-05-19 15:49:41 -070052 android:background="@*android:drawable/edit_text_holo_dark"
53 android:textAppearance="?android:attr/textAppearanceMedium"
Michael Kolbf2055602011-04-09 17:20:03 -070054 android:scrollHorizontally="true"
Michael Kolb2814a362011-05-19 15:49:41 -070055 android:hint="@string/search_hint" />
56 <ImageButton
57 android:id="@+id/refresh"
58 android:layout_width="wrap_content"
59 android:layout_height="match_parent"
60 android:src="@drawable/ic_refresh_holo_dark"
61 style="@style/HoloButton" />
62 <ImageButton
63 android:id="@+id/forward"
64 android:layout_width="wrap_content"
65 android:layout_height="match_parent"
66 android:src="@drawable/ic_forward_holo_dark"
67 style="@style/HoloButton" />
68 </LinearLayout>
69 <FrameLayout
70 android:id="@+id/tab_view"
71 android:layout_width="@dimen/nav_tab_width"
72 android:layout_height="@dimen/nav_tab_height"
Michael Kolb4bd767d2011-05-27 11:33:55 -070073 android:layout_gravity="center_horizontal"
Michael Kolb2814a362011-05-19 15:49:41 -070074 android:padding="4dip"
75 android:focusable="false"
76 android:background="@drawable/nav_tab_bg">
Michael Kolbf2055602011-04-09 17:20:03 -070077 <ImageButton
78 android:id="@+id/closetab"
79 android:src="@drawable/ic_stop_holo_dark"
80 android:layout_width="wrap_content"
Michael Kolb2814a362011-05-19 15:49:41 -070081 android:layout_height="wrap_content"
Michael Kolb4bd767d2011-05-27 11:33:55 -070082 android:layout_gravity="right|bottom"
Michael Kolb2814a362011-05-19 15:49:41 -070083 android:background="@drawable/navtab_close_background" />
84 </FrameLayout>
85</LinearLayout>