blob: 9d9d7c97249a795febf126e1be10451474ff631f [file] [log] [blame]
John Reckef654f12011-07-12 16:42:08 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright 2011, The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<com.android.browser.SnapshotBar
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:orientation="horizontal"
20 android:background="@drawable/bg_urlbar">
John Reck419f6b42011-08-16 16:10:51 -070021 <ImageView
22 android:src="@drawable/ic_search_category_history"
23 android:layout_width="wrap_content"
24 android:layout_height="match_parent"
25 android:paddingLeft="8dip" />
John Reckef654f12011-07-12 16:42:08 -070026 <ImageButton
27 android:id="@+id/favicon"
John Reck419f6b42011-08-16 16:10:51 -070028 android:layout_width="52dip"
John Reckef654f12011-07-12 16:42:08 -070029 android:layout_height="match_parent"
30 android:paddingLeft="16dip"
John Reck419f6b42011-08-16 16:10:51 -070031 android:paddingRight="16dip"
John Reckef654f12011-07-12 16:42:08 -070032 android:scaleType="fitCenter"
33 style="@style/HoloButton" />
34 <FrameLayout
35 android:id="@+id/toggle_container"
36 android:layout_width="0dip"
37 android:layout_height="match_parent"
John Reck419f6b42011-08-16 16:10:51 -070038 android:layout_weight="1">
John Reckef654f12011-07-12 16:42:08 -070039 <TextView
40 android:id="@+id/title"
41 android:layout_width="match_parent"
42 android:layout_height="match_parent"
43 android:singleLine="true"
44 android:gravity="center_vertical"
45 android:textAppearance="?android:attr/textAppearanceMedium" />
John Reck419f6b42011-08-16 16:10:51 -070046 <TextView
47 android:id="@+id/date"
John Reckef654f12011-07-12 16:42:08 -070048 android:layout_width="wrap_content"
John Reck419f6b42011-08-16 16:10:51 -070049 android:layout_height="match_parent"
50 android:singleLine="true"
51 android:gravity="center_vertical"
52 android:textAppearance="?android:attr/textAppearanceMedium" />
John Reckef654f12011-07-12 16:42:08 -070053 </FrameLayout>
54 <ImageButton
55 android:id="@+id/tab_switcher"
56 android:layout_width="wrap_content"
57 android:layout_height="match_parent"
58 android:src="@drawable/ic_windows_holo_dark"
59 style="@style/HoloButton" />
60 <ImageButton
61 android:id="@+id/more"
62 android:layout_width="wrap_content"
63 android:layout_height="match_parent"
64 style="@style/HoloButton"
65 android:gravity="center_vertical"
66 android:src="@*android:drawable/ic_menu_moreoverflow_normal_holo_dark" />
67</com.android.browser.SnapshotBar>