gecko/mobile/android/base/resources/layout-large-v11/tabs_panel_toolbar_menu.xml
Sriram Ramasubramanian 9b0c3f3e24 Bug 785246: Replace the curves in TabsPanel Toolbar for new tab button. [r=mfinkle]
--HG--
extra : rebase_source : 82ad310cfee1870913a4ebabc4a7e2fba85dd0b8
2012-08-31 12:04:02 -07:00

66 lines
3.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<merge xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_width="fill_parent"
android:layout_height="fill_parent">
<org.mozilla.gecko.MenuButton android:id="@+id/menu"
style="@style/AddressBar.ImageButton"
android:layout_width="90dip"
android:layout_alignParentRight="true"
android:gravity="center_vertical"
android:src="@drawable/menu"
android:contentDescription="@string/menu"
android:background="@android:color/black"
android:paddingLeft="48dip"
android:paddingRight="14dip"
android:enabled="false"/>
<View android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/tabs_tray_bg_repeat"
android:layout_marginRight="110dip"/>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginRight="28dip">
<TextView android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_weight="1.0"
style="@style/TabRowTextAppearance"
android:gravity="center_vertical"
android:padding="10dip"
android:textSize="16sp"/>
<ImageButton android:id="@+id/remote_tabs"
android:layout_width="@dimen/browser_toolbar_height"
android:layout_height="@dimen/browser_toolbar_height"
android:gravity="center_vertical"
android:padding="12dip"
android:src="@drawable/remote_tabs_level"
android:contentDescription="@string/remote_tabs"
android:background="@drawable/action_bar_button"
android:visibility="gone"/>
<org.mozilla.gecko.TabsPanelButton android:id="@+id/add_tab"
android:layout_width="85dip"
android:layout_height="@dimen/browser_toolbar_height"
android:gravity="center_vertical"
android:paddingLeft="14dip"
android:paddingRight="43dip"
android:src="@drawable/tab_new"
android:contentDescription="@string/new_tab"
android:background="@drawable/tab_new_button"/>
</LinearLayout>
</RelativeLayout>
</merge>