blob: 1f17a5466aed30815fbaeaf008a82fa23d45a239 [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"
jrizzoli5bba72a2015-08-28 22:03:53 +020020 android:background="@color/trasparent"
Enrico Ros1f5a0952014-11-18 20:15:48 -080021 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"
jrizzolia62318b2015-09-08 21:44:50 +020033 android:background="@color/primary"
Enrico Ros1f5a0952014-11-18 20:15:48 -080034 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"
jrizzoli5bba72a2015-08-28 22:03:53 +020049 android:src="@drawable/ic_action_add_tab"
50 android:visibility="gone" />
Enrico Ros1f5a0952014-11-18 20:15:48 -080051
52 <ImageButton
53 android:id="@+id/newincognitotab"
54 style="@style/NavButtonWide"
55 android:contentDescription="@string/accessibility_button_newincognitotab"
56 android:gravity="center_vertical"
jrizzoli5bba72a2015-08-28 22:03:53 +020057 android:src="@drawable/ic_action_add_incognito"
58 android:visibility="gone" />
Enrico Ros1f5a0952014-11-18 20:15:48 -080059 </LinearLayout>
60
Michael Kolbf2055602011-04-09 17:20:03 -070061 <ImageButton
62 android:id="@+id/more"
jrizzolia62318b2015-09-08 21:44:50 +020063 style="@style/OverflowButtonInverted" />
Michael Kolbf2055602011-04-09 17:20:03 -070064 </LinearLayout>
Enrico Ros1f5a0952014-11-18 20:15:48 -080065
jrizzolia62318b2015-09-08 21:44:50 +020066 <!-- Cosmetic shadow (covered by anim_screen during transitions) -->
Enrico Ros1f5a0952014-11-18 20:15:48 -080067 <View
68 android:layout_width="match_parent"
69 android:layout_height="8dp"
70 android:layout_marginTop="@dimen/toolbar_height"
jrizzolia62318b2015-09-08 21:44:50 +020071 android:background="@drawable/deco_cosmetic_topshadow" />
Enrico Ros1f5a0952014-11-18 20:15:48 -080072
jrizzoli5bba72a2015-08-28 22:03:53 +020073</FrameLayout>