blob: 51109f7cd1a2b0ee649204446d46833d966f290d [file] [log] [blame]
Michael Kolbf2055602011-04-09 17:20:03 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
Enrico Ros1f5a0952014-11-18 20:15:48 -080017<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
Michael Kolbf2055602011-04-09 17:20:03 -070018 android:layout_width="match_parent"
19 android:layout_height="match_parent"
Enrico Ros1f5a0952014-11-18 20:15:48 -080020 android:background="@color/TabNavBackgroundColor"
21 android:orientation="vertical">
22
Bijan Amirzada41242f22014-03-21 12:12:18 -070023 <com.android.browser.NavTabScroller
Michael Kolb9829b432011-06-04 13:29:00 -070024 android:id="@+id/scroller"
25 android:layout_width="match_parent"
26 android:layout_height="match_parent"
Enrico Ros1f5a0952014-11-18 20:15:48 -080027 android:orientation="@integer/nav_tab_orientation" />
28
29 <!-- Tabs toolbar -->
Michael Kolbf2055602011-04-09 17:20:03 -070030 <LinearLayout
Michael Kolbf2055602011-04-09 17:20:03 -070031 android:layout_width="match_parent"
Michael Kolb8a5512a2011-09-20 10:32:46 -070032 android:layout_height="@dimen/toolbar_height"
Enrico Ros1f5a0952014-11-18 20:15:48 -080033 android:background="@color/NavigationBarBackground"
34 android:gravity="end"
35 android:orientation="horizontal">
36
37 <!-- animated subset -->
38 <LinearLayout
39 android:id="@+id/nav_toolbar_animate"
Michael Kolb14019dd2011-06-21 14:57:14 -070040 android:layout_width="wrap_content"
Michael Kolbf2055602011-04-09 17:20:03 -070041 android:layout_height="match_parent"
Enrico Ros1f5a0952014-11-18 20:15:48 -080042 android:orientation="horizontal">
43
44 <ImageButton
45 android:id="@+id/newtab"
46 style="@style/NavButtonWide"
47 android:contentDescription="@string/accessibility_button_newtab"
48 android:gravity="center_vertical"
49 android:src="@drawable/ic_action_add_tab" />
50
51 <ImageButton
52 android:id="@+id/newincognitotab"
53 style="@style/NavButtonWide"
54 android:contentDescription="@string/accessibility_button_newincognitotab"
55 android:gravity="center_vertical"
56 android:src="@drawable/ic_action_add_incognito" />
57 </LinearLayout>
58
Michael Kolbf2055602011-04-09 17:20:03 -070059 <ImageButton
60 android:id="@+id/more"
Enrico Ros1f5a0952014-11-18 20:15:48 -080061 style="@style/OverflowButton" />
Michael Kolbf2055602011-04-09 17:20:03 -070062 </LinearLayout>
Enrico Ros1f5a0952014-11-18 20:15:48 -080063
64 <!-- Cosmetic shadow (covered by anim_screen during transitions) -->
65 <View
66 android:layout_width="match_parent"
67 android:layout_height="8dp"
68 android:layout_marginTop="@dimen/toolbar_height"
69 android:background="@drawable/deco_cosmetic_topshadow" />
70
71</FrameLayout>