blob: 0e2ab1ce3feac041e65bd1e3adb357ec58ef9e12 [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 Reck8e8cae22012-09-21 17:58:43 -070028 <ImageView
John Reckef654f12011-07-12 16:42:08 -070029 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 Reck8e8cae22012-09-21 17:58:43 -070034 android:scaleType="fitCenter" />
John Reckef654f12011-07-12 16:42:08 -070035 <FrameLayout
36 android:id="@+id/toggle_container"
37 android:layout_width="0dip"
38 android:layout_height="match_parent"
John Reck419f6b42011-08-16 16:10:51 -070039 android:layout_weight="1">
John Reckef654f12011-07-12 16:42:08 -070040 <TextView
41 android:id="@+id/title"
42 android:layout_width="match_parent"
43 android:layout_height="match_parent"
44 android:singleLine="true"
45 android:gravity="center_vertical"
46 android:textAppearance="?android:attr/textAppearanceMedium" />
John Reck419f6b42011-08-16 16:10:51 -070047 <TextView
48 android:id="@+id/date"
John Reckef654f12011-07-12 16:42:08 -070049 android:layout_width="wrap_content"
John Reck419f6b42011-08-16 16:10:51 -070050 android:layout_height="match_parent"
51 android:singleLine="true"
52 android:gravity="center_vertical"
53 android:textAppearance="?android:attr/textAppearanceMedium" />
John Reckef654f12011-07-12 16:42:08 -070054 </FrameLayout>
55 <ImageButton
56 android:id="@+id/tab_switcher"
57 android:layout_width="wrap_content"
58 android:layout_height="match_parent"
59 android:src="@drawable/ic_windows_holo_dark"
John Reck8e8cae22012-09-21 17:58:43 -070060 android:contentDescription="@string/accessibility_button_navscreen"
John Reckef654f12011-07-12 16:42:08 -070061 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"
John Reck8e8cae22012-09-21 17:58:43 -070068 android:src="@*android:drawable/ic_menu_moreoverflow_normal_holo_dark"
69 android:contentDescription="@string/accessibility_button_more" />
John Reckef654f12011-07-12 16:42:08 -070070</com.android.browser.SnapshotBar>