blob: 704c0d8c5bc6aa4f3ebd886d88a349e76ac36edb [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"
jrizzoli82682a02015-10-11 16:51:09 +020021 android:background="@color/icon_white"
Enrico Ros1f5a0952014-11-18 20:15:48 -080022 android:orientation="horizontal" >
John Reck419f6b42011-08-16 16:10:51 -070023 <ImageView
Ze G Riande2a675c22015-06-03 11:15:24 -070024 android:id="@+id/reader_icon"
25 android:src="@drawable/ic_deco_reader_mode_normal"
26 android:layout_width="wrap_content"
27 android:layout_height="match_parent"
28 android:visibility="gone"
29 android:paddingEnd="16dip"
30 android:paddingStart="16dip" />
31 <ImageView
32 android:id="@+id/snapshot_icon"
Enrico Ros1f5a0952014-11-18 20:15:48 -080033 android:src="@drawable/ic_suggest_history_normal"
John Reck419f6b42011-08-16 16:10:51 -070034 android:layout_width="wrap_content"
35 android:layout_height="match_parent"
Sagar Dhawan90236142015-07-24 14:16:38 -070036 android:paddingStart="8dip"
37 android:paddingEnd="8dip"/>
John Reck8e8cae22012-09-21 17:58:43 -070038 <ImageView
John Reckef654f12011-07-12 16:42:08 -070039 android:id="@+id/favicon"
John Reck419f6b42011-08-16 16:10:51 -070040 android:layout_width="52dip"
John Reckef654f12011-07-12 16:42:08 -070041 android:layout_height="match_parent"
Vivek Sekhared791da2015-02-22 12:39:05 -080042 android:paddingStart="16dip"
43 android:paddingEnd="16dip"
John Reck8e8cae22012-09-21 17:58:43 -070044 android:scaleType="fitCenter" />
John Reckef654f12011-07-12 16:42:08 -070045 <FrameLayout
46 android:id="@+id/toggle_container"
47 android:layout_width="0dip"
48 android:layout_height="match_parent"
John Reck419f6b42011-08-16 16:10:51 -070049 android:layout_weight="1">
John Reckef654f12011-07-12 16:42:08 -070050 <TextView
51 android:id="@+id/title"
52 android:layout_width="match_parent"
53 android:layout_height="match_parent"
54 android:singleLine="true"
55 android:gravity="center_vertical"
56 android:textAppearance="?android:attr/textAppearanceMedium" />
John Reck419f6b42011-08-16 16:10:51 -070057 <TextView
58 android:id="@+id/date"
John Reckef654f12011-07-12 16:42:08 -070059 android:layout_width="wrap_content"
John Reck419f6b42011-08-16 16:10:51 -070060 android:layout_height="match_parent"
61 android:singleLine="true"
62 android:gravity="center_vertical"
63 android:textAppearance="?android:attr/textAppearanceMedium" />
John Reckef654f12011-07-12 16:42:08 -070064 </FrameLayout>
Enrico Ros1f5a0952014-11-18 20:15:48 -080065
66 <FrameLayout
John Reckef654f12011-07-12 16:42:08 -070067 android:layout_height="match_parent"
Enrico Ros1f5a0952014-11-18 20:15:48 -080068 android:layout_width="wrap_content">
69
70 <ImageButton
71 android:id="@+id/tab_switcher"
72 style="@style/NavButton"
73 android:layout_width="wrap_content"
74 android:contentDescription="@string/accessibility_button_navscreen"
jrizzoli82682a02015-10-11 16:51:09 +020075 android:src="@drawable/ic_action_tabswitcher_inverted" />
Enrico Ros1f5a0952014-11-18 20:15:48 -080076
77 <TextView
78 android:id="@+id/tab_switcher_text"
79 android:layout_width="wrap_content"
80 android:layout_height="wrap_content"
81 android:layout_gravity="center"
Sagar Dhawan90236142015-07-24 14:16:38 -070082 android:clickable="false"
jrizzoli82682a02015-10-11 16:51:09 +020083 android:paddingBottom="1dp"
84 android:paddingStart="1dp"
85 android:paddingEnd="1dp"
86 android:textColor="@color/icon_black"
Sagar Dhawan90236142015-07-24 14:16:38 -070087 android:textSize="13dp"
88 android:textStyle="bold" />
Enrico Ros1f5a0952014-11-18 20:15:48 -080089 </FrameLayout>
90
John Reckef654f12011-07-12 16:42:08 -070091 <ImageButton
92 android:id="@+id/more"
Enrico Ros1f5a0952014-11-18 20:15:48 -080093 style="@style/OverflowButton" />
Bijan Amirzada41242f22014-03-21 12:12:18 -070094</com.android.browser.SnapshotBar>