mobile/android/base/resources/layout/awesomebar_tabs.xml
author Wes Johnston <wjohnston@mozilla.com>
Thu, 15 Nov 2012 19:16:35 -0800
changeset 113469 fb9a1e6e2710992df1523373b415c973be617dff
parent 113003 0a14e7f19dbf609a670403c5bf2bc60413a95c86
child 114392 abfc930bc7cd5d76974f6b9c2b45b9e372094577
permissions -rw-r--r--
Bug 811906 - Don't use a background color on View Pager. r=bnicholson

<?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/. -->

<org.mozilla.gecko.AwesomeBarTabs xmlns:android="http://schemas.android.com/apk/res/android"
                                  android:id="@+id/awesomebar_tabs"
                                  android:layout_width="fill_parent"
                                  android:layout_height="fill_parent">

    <view class="org.mozilla.gecko.AwesomeBarTabs.Background"
          android:orientation="vertical"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:background="@drawable/abouthome_bg_repeat">

        <LinearLayout android:id="@+id/tab_widget_container"
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content">

            <View android:id="@+id/tab_widget_left"
                  style="@style/AwesomeBarTabIndicatorCurve.Left"/>

            <TabWidget android:id="@android:id/tabs"
                       style="@style/TabWidget"/>

            <View android:id="@+id/tab_widget_right"
                  style="@style/AwesomeBarTabIndicatorCurve.Right"/>

        </LinearLayout>

        <FrameLayout android:id="@android:id/tabcontent"
                     android:visibility="gone"
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"/>

        <android.support.v4.view.ViewPager
                        android:id="@+id/tabviewpager"
                        android:layout_width="fill_parent"
                        android:layout_height="fill_parent"/>

    </view>

</org.mozilla.gecko.AwesomeBarTabs>