blob: 13a35acf3624f52ed1b803968d5c512b098bb012 [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-->
Bijan Amirzada41242f22014-03-21 12:12:18 -070017<com.android.browser.SnapshotBar
John Reckef654f12011-07-12 16:42:08 -070018 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"
Enrico Ros1f5a0952014-11-18 20:15:48 -080021 android:orientation="horizontal" >
John Reck419f6b42011-08-16 16:10:51 -070022 <ImageView
Enrico Ros1f5a0952014-11-18 20:15:48 -080023 android:src="@drawable/ic_suggest_history_normal"
John Reck419f6b42011-08-16 16:10:51 -070024 android:layout_width="wrap_content"
25 android:layout_height="match_parent"
26 android:paddingLeft="8dip" />
John Reck8e8cae22012-09-21 17:58:43 -070027 <ImageView
John Reckef654f12011-07-12 16:42:08 -070028 android:id="@+id/favicon"
John Reck419f6b42011-08-16 16:10:51 -070029 android:layout_width="52dip"
John Reckef654f12011-07-12 16:42:08 -070030 android:layout_height="match_parent"
31 android:paddingLeft="16dip"
John Reck419f6b42011-08-16 16:10:51 -070032 android:paddingRight="16dip"
John Reck8e8cae22012-09-21 17:58:43 -070033 android:scaleType="fitCenter" />
John Reckef654f12011-07-12 16:42:08 -070034 <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>
Enrico Ros1f5a0952014-11-18 20:15:48 -080054
55 <FrameLayout
John Reckef654f12011-07-12 16:42:08 -070056 android:layout_height="match_parent"
Enrico Ros1f5a0952014-11-18 20:15:48 -080057 android:layout_width="wrap_content">
58
59 <ImageButton
60 android:id="@+id/tab_switcher"
61 style="@style/NavButton"
62 android:layout_width="wrap_content"
63 android:contentDescription="@string/accessibility_button_navscreen"
64 android:src="@drawable/ic_action_tabswitcher" />
65
66 <TextView
67 android:id="@+id/tab_switcher_text"
68 android:layout_width="wrap_content"
69 android:layout_height="wrap_content"
70 android:layout_gravity="center"
71 android:paddingBottom="3dp"
72 android:paddingRight="2dp"
73 android:clickable="false"
74 android:text="0" >
75 </TextView>
76 </FrameLayout>
77
John Reckef654f12011-07-12 16:42:08 -070078 <ImageButton
79 android:id="@+id/more"
Enrico Ros1f5a0952014-11-18 20:15:48 -080080 style="@style/OverflowButton" />
Bijan Amirzada41242f22014-03-21 12:12:18 -070081</com.android.browser.SnapshotBar>