blob: 8e10f0261bf9ffe1a55ed82760d44629bfdc80cf [file] [log] [blame]
Michael Kolbff6c36b2011-05-04 14:21:34 -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
Michael Kolb2814a362011-05-19 15:49:41 -070017<RelativeLayout
Michael Kolbff6c36b2011-05-04 14:21:34 -070018 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:id="@+id/nav_screen"
20 android:layout_width="match_parent"
Michael Kolb9829b432011-06-04 13:29:00 -070021 android:layout_height="match_parent"
22 android:background="@drawable/nav_screen_bg" >
Michael Kolbff6c36b2011-05-04 14:21:34 -070023 <LinearLayout
Michael Kolb2814a362011-05-19 15:49:41 -070024 android:id="@+id/tabbar"
Michael Kolb9829b432011-06-04 13:29:00 -070025 android:orientation="horizontal"
26 android:layout_width="match_parent"
27 android:layout_height="44dip"
28 android:layout_alignParentBottom="true"
Michael Kolb14019dd2011-06-21 14:57:14 -070029 android:gravity="right"
Michael Kolb9829b432011-06-04 13:29:00 -070030 android:background="#C0404040">
Michael Kolbff6c36b2011-05-04 14:21:34 -070031 <ImageButton
32 android:id="@+id/newtab"
Michael Kolb14019dd2011-06-21 14:57:14 -070033 android:layout_width="wrap_content"
Michael Kolb9829b432011-06-04 13:29:00 -070034 android:layout_height="match_parent"
Michael Kolb14019dd2011-06-21 14:57:14 -070035 android:paddingLeft="16dip"
36 android:paddingRight="16dip"
Michael Kolbff6c36b2011-05-04 14:21:34 -070037 style="@style/HoloButton"
38 android:gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -070039 android:contentDescription="@string/accessibility_button_newtab"
Michael Kolbff6c36b2011-05-04 14:21:34 -070040 android:src="@drawable/ic_new_window_holo_dark" />
41 <ImageButton
42 android:id="@+id/newincognito"
Michael Kolb14019dd2011-06-21 14:57:14 -070043 android:layout_width="wrap_content"
Michael Kolb9829b432011-06-04 13:29:00 -070044 android:layout_height="match_parent"
Michael Kolb14019dd2011-06-21 14:57:14 -070045 android:paddingLeft="16dip"
46 android:paddingRight="16dip"
Michael Kolbff6c36b2011-05-04 14:21:34 -070047 style="@style/HoloButton"
48 android:gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -070049 android:contentDescription="@string/accessibility_button_newincognitotab"
Michael Kolbff6c36b2011-05-04 14:21:34 -070050 android:src="@drawable/ic_new_incognito_holo_dark" />
51 <ImageButton
Michael Kolb2814a362011-05-19 15:49:41 -070052 android:id="@+id/bookmarks"
Michael Kolb14019dd2011-06-21 14:57:14 -070053 android:layout_width="wrap_content"
Michael Kolb9829b432011-06-04 13:29:00 -070054 android:layout_height="match_parent"
Michael Kolb14019dd2011-06-21 14:57:14 -070055 android:paddingLeft="16dip"
56 android:paddingRight="16dip"
Michael Kolb30adae62011-07-29 13:37:05 -070057 android:contentDescription="@string/accessibility_button_bookmarks"
Michael Kolb2814a362011-05-19 15:49:41 -070058 android:src="@drawable/ic_bookmarks_history_holo_dark"
59 style="@style/HoloButton" />
Michael Kolbff6c36b2011-05-04 14:21:34 -070060 <ImageButton
61 android:id="@+id/more"
Michael Kolb14019dd2011-06-21 14:57:14 -070062 android:layout_width="wrap_content"
Michael Kolb9829b432011-06-04 13:29:00 -070063 android:layout_height="match_parent"
Michael Kolb14019dd2011-06-21 14:57:14 -070064 android:paddingLeft="16dip"
65 android:paddingRight="16dip"
Michael Kolbff6c36b2011-05-04 14:21:34 -070066 style="@style/HoloButton"
67 android:gravity="center_vertical"
Michael Kolb30adae62011-07-29 13:37:05 -070068 android:contentDescription="@string/accessibility_button_more"
Michael Kolbff6c36b2011-05-04 14:21:34 -070069 android:src="@*android:drawable/ic_menu_moreoverflow_normal_holo_dark" />
70 </LinearLayout>
Michael Kolb9829b432011-06-04 13:29:00 -070071 <com.android.browser.NavTabGallery
Michael Kolb2814a362011-05-19 15:49:41 -070072 android:id="@+id/scroller"
73 android:layout_width="match_parent"
Michael Kolbff6c36b2011-05-04 14:21:34 -070074 android:layout_height="match_parent"
Michael Kolb9829b432011-06-04 13:29:00 -070075 android:layout_above="@id/tabbar" />
Michael Kolb2814a362011-05-19 15:49:41 -070076</RelativeLayout>