blob: 5b9cb9ff56d538a89e9fd1d6043ce1d30681e657 [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 Kolbf2055602011-04-09 17:20:03 -070020 android:layout_width="wrap_content"
Michael Kolba4261fd2011-05-05 11:27:37 -070021 android:layout_height="match_parent"
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"
31 android:paddingLeft="4dip"
32 android:paddingRight="4dip"
33 android:paddingTop="2dip"
34 android:paddingBottom="2dip">
Michael Kolbf2055602011-04-09 17:20:03 -070035 <ImageView
36 android:id="@+id/favicon"
Michael Kolb5a4372f2011-04-29 13:53:10 -070037 android:layout_width="20dip"
38 android:layout_height="20dip"
Michael Kolbf2055602011-04-09 17:20:03 -070039 android:layout_marginLeft="4dip"
40 android:layout_marginRight="4dip"
Michael Kolbf2055602011-04-09 17:20:03 -070041 android:layout_gravity="center_vertical" />
42 <TextView
43 android:id="@+id/title"
44 android:layout_width="0dip"
Michael Kolb2814a362011-05-19 15:49:41 -070045 android:layout_height="match_parent"
Michael Kolbf2055602011-04-09 17:20:03 -070046 android:layout_weight="1.0"
Michael Kolb2814a362011-05-19 15:49:41 -070047 android:gravity="center_vertical"
Michael Kolbf2055602011-04-09 17:20:03 -070048 android:singleLine="true"
49 android:ellipsize="end"
50 android:lines="1"
Michael Kolb2814a362011-05-19 15:49:41 -070051 android:background="@*android:drawable/edit_text_holo_dark"
52 android:textAppearance="?android:attr/textAppearanceMedium"
Michael Kolbf2055602011-04-09 17:20:03 -070053 android:scrollHorizontally="true"
Michael Kolb2814a362011-05-19 15:49:41 -070054 android:hint="@string/search_hint" />
55 <ImageButton
56 android:id="@+id/refresh"
57 android:layout_width="wrap_content"
58 android:layout_height="match_parent"
59 android:src="@drawable/ic_refresh_holo_dark"
60 style="@style/HoloButton" />
61 <ImageButton
62 android:id="@+id/forward"
63 android:layout_width="wrap_content"
64 android:layout_height="match_parent"
65 android:src="@drawable/ic_forward_holo_dark"
66 style="@style/HoloButton" />
67 </LinearLayout>
68 <FrameLayout
69 android:id="@+id/tab_view"
70 android:layout_width="@dimen/nav_tab_width"
71 android:layout_height="@dimen/nav_tab_height"
72 android:padding="4dip"
73 android:focusable="false"
74 android:background="@drawable/nav_tab_bg">
Michael Kolbf2055602011-04-09 17:20:03 -070075 <ImageButton
76 android:id="@+id/closetab"
77 android:src="@drawable/ic_stop_holo_dark"
78 android:layout_width="wrap_content"
Michael Kolb2814a362011-05-19 15:49:41 -070079 android:layout_height="wrap_content"
80 android:layout_gravity="right|top"
81 android:background="@drawable/navtab_close_background" />
82 </FrameLayout>
83</LinearLayout>