<?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-auto">

    <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="@color/background_tabs">

            <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="@+id/tabs_container"
          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"
                                    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>

</merge>
