gecko/mobile/android/base/resources/layout-xlarge-v11/tabs_panel.xml.in
Sriram Ramasubramanian 829dc72aaa Bug 836043: Replace tabs toolbar background with a dark one. [r=mfinkle]
--HG--
extra : rebase_source : cfe5ff7847783a0a58142de1b30abfe53c95d8e8
2013-01-29 15:57:52 -08:00

84 lines
3.6 KiB
XML

#filter substitution
<?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"
xmlns:gecko="http://schemas.android.com/apk/res/@ANDROID_PACKAGE_NAME@">
<RelativeLayout android:id="@+id/tabs_panel_header"
android:layout_width="fill_parent"
android:layout_height="@dimen/browser_toolbar_height">
<view class="org.mozilla.gecko.TabsPanel$TabsPanelToolbar"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/tabs_tray_dark_bg_repeat">
<include layout="@layout/tabs_panel_header"/>
</view>
<View android:layout_width="fill_parent"
android:layout_height="2dp"
android:layout_alignParentBottom="true"
android:background="#1A000000"/>
</RelativeLayout>
<view class="org.mozilla.gecko.TabsPanel$TabsListContainer"
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="0dip"
android:layout_weight="1.0">
<org.mozilla.gecko.TabsTray android:id="@+id/normal_tabs"
style="@style/TabsList"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:choiceMode="singleChoice"
android:visibility="gone"
gecko:tabs="tabs_normal"/>
<org.mozilla.gecko.TabsTray android:id="@+id/private_tabs"
style="@style/TabsList"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:choiceMode="singleChoice"
android:visibility="gone"
gecko:tabs="tabs_private"/>
<org.mozilla.gecko.RemoteTabs android:id="@+id/synced_tabs"
style="@style/RemoteTabsList"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:visibility="gone"
android:paddingLeft="@dimen/tabs_panel_list_padding"
android:paddingRight="@dimen/tabs_panel_list_padding"
android:scrollbarStyle="outsideOverlay"/>
</view>
<RelativeLayout android:id="@+id/tabs_panel_footer"
android:layout_width="fill_parent"
android:layout_height="@dimen/browser_toolbar_height">
<view class="org.mozilla.gecko.TabsPanel$TabsPanelToolbar"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/tabs_tray_dark_bg_repeat">
<include layout="@layout/tabs_panel_footer"/>
</view>
<View android:layout_width="fill_parent"
android:layout_height="2dp"
android:layout_alignParentTop="true"
android:background="#1A000000"/>
</RelativeLayout>
</merge>