blob: 4d6128cab1c6b78af581be11f73c2fbdd35e5d91 [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"
Ben Murdochd51bb572011-08-17 20:42:02 +010019 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
John Reckef654f12011-07-12 16:42:08 -070021 android:orientation="horizontal"
22 android:background="@drawable/bg_urlbar">
John Reck419f6b42011-08-16 16:10:51 -070023 <ImageView
24 android:src="@drawable/ic_search_category_history"
25 android:layout_width="wrap_content"
26 android:layout_height="match_parent"
27 android:paddingLeft="8dip" />
John Reckef654f12011-07-12 16:42:08 -070028 <ImageButton
29 android:id="@+id/favicon"
John Reck419f6b42011-08-16 16:10:51 -070030 android:layout_width="52dip"
John Reckef654f12011-07-12 16:42:08 -070031 android:layout_height="match_parent"
32 android:paddingLeft="16dip"
John Reck419f6b42011-08-16 16:10:51 -070033 android:paddingRight="16dip"
John Reckef654f12011-07-12 16:42:08 -070034 android:scaleType="fitCenter"
35 style="@style/HoloButton" />
36 <FrameLayout
37 android:id="@+id/toggle_container"
38 android:layout_width="0dip"
39 android:layout_height="match_parent"
John Reck419f6b42011-08-16 16:10:51 -070040 android:layout_weight="1">
John Reckef654f12011-07-12 16:42:08 -070041 <TextView
42 android:id="@+id/title"
43 android:layout_width="match_parent"
44 android:layout_height="match_parent"
45 android:singleLine="true"
46 android:gravity="center_vertical"
47 android:textAppearance="?android:attr/textAppearanceMedium" />
John Reck419f6b42011-08-16 16:10:51 -070048 <TextView
49 android:id="@+id/date"
John Reckef654f12011-07-12 16:42:08 -070050 android:layout_width="wrap_content"
John Reck419f6b42011-08-16 16:10:51 -070051 android:layout_height="match_parent"
52 android:singleLine="true"
53 android:gravity="center_vertical"
54 android:textAppearance="?android:attr/textAppearanceMedium" />
John Reckef654f12011-07-12 16:42:08 -070055 </FrameLayout>
56 <ImageButton
57 android:id="@+id/tab_switcher"
58 android:layout_width="wrap_content"
59 android:layout_height="match_parent"
60 android:src="@drawable/ic_windows_holo_dark"
61 style="@style/HoloButton" />
62 <ImageButton
63 android:id="@+id/more"
64 android:layout_width="wrap_content"
65 android:layout_height="match_parent"
66 style="@style/HoloButton"
67 android:gravity="center_vertical"
68 android:src="@*android:drawable/ic_menu_moreoverflow_normal_holo_dark" />
69</com.android.browser.SnapshotBar>