Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 1 | <?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 Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 17 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 20 | android:background="@color/TabNavBackgroundColor" |
| 21 | android:orientation="vertical"> |
| 22 | |
Bijan Amirzada | 41242f2 | 2014-03-21 12:12:18 -0700 | [diff] [blame] | 23 | <com.android.browser.NavTabScroller |
Michael Kolb | 9829b43 | 2011-06-04 13:29:00 -0700 | [diff] [blame] | 24 | android:id="@+id/scroller" |
| 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="match_parent" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 27 | android:orientation="@integer/nav_tab_orientation" /> |
| 28 | |
| 29 | <!-- Tabs toolbar --> |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 30 | <LinearLayout |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 31 | android:layout_width="match_parent" |
Michael Kolb | 8a5512a | 2011-09-20 10:32:46 -0700 | [diff] [blame] | 32 | android:layout_height="@dimen/toolbar_height" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 33 | 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 Kolb | 14019dd | 2011-06-21 14:57:14 -0700 | [diff] [blame] | 40 | android:layout_width="wrap_content" |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 41 | android:layout_height="match_parent" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 42 | 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 Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 59 | <ImageButton |
| 60 | android:id="@+id/more" |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 61 | style="@style/OverflowButton" /> |
Michael Kolb | f205560 | 2011-04-09 17:20:03 -0700 | [diff] [blame] | 62 | </LinearLayout> |
Enrico Ros | 1f5a095 | 2014-11-18 20:15:48 -0800 | [diff] [blame] | 63 | |
| 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> |