gecko-dev/mobile/android/base/resources/layout/tabs_panel.xml.in
Sriram Ramasubramanian 2a18f414f6 Bug 831402: Dividers in tabs UI should be with action-bar. [r=mfinkle]
--HG--
extra : rebase_source : 3e9283838ef85ee713a2e7a7495d493d176f7647
2013-01-16 14:04:53 -08:00

64 lines
2.8 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@">
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout android:id="@+id/tabs_panel_header"
android:layout_width="fill_parent"
android:layout_height="@dimen/browser_toolbar_height"
android:orientation="vertical">
<view class="org.mozilla.gecko.TabsPanel$TabsPanelToolbar"
android:layout_width="fill_parent"
android:layout_height="0dip"
android:layout_weight="1.0">
<include layout="@layout/tabs_panel_header"/>
</view>
<View android:layout_width="fill_parent"
android:layout_height="2dp"
android:background="#FF313131"/>
</LinearLayout>
<view class="org.mozilla.gecko.TabsPanel$TabsListContainer"
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<org.mozilla.gecko.TabsTray android:id="@+id/normal_tabs"
style="@style/TabsList"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
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"
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:paddingLeft="@dimen/tabs_panel_list_padding"
android:paddingRight="@dimen/tabs_panel_list_padding"
android:scrollbarStyle="outsideOverlay"/>
</view>
</LinearLayout>
</merge>