mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
e1fadc9a76
--HG-- extra : rebase_source : e79f66f5e405dac2ac0dbd1a97ce1c8a26037c10
50 lines
2.1 KiB
XML
50 lines
2.1 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/. -->
|
|
|
|
<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">
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
|
|
<view class="org.mozilla.gecko.AwesomeBarTabs$BackgroundLayout"
|
|
android:id="@+id/tab_widget_container"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/address_bar_bg"
|
|
android:focusable="false"
|
|
android:descendantFocusability="blocksDescendants">
|
|
|
|
<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"/>
|
|
|
|
</view>
|
|
|
|
<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"
|
|
android:background="#EEF1F5"
|
|
android:paddingLeft="@dimen/awesomebar_list_padding"
|
|
android:paddingRight="@dimen/awesomebar_list_padding"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</org.mozilla.gecko.AwesomeBarTabs>
|