mobile/android/base/resources/layout/tabs_panel.xml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     3    - License, v. 2.0. If a copy of the MPL was not distributed with this
     4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     6 <merge xmlns:android="http://schemas.android.com/apk/res/android"
     7        xmlns:gecko="http://schemas.android.com/apk/res-auto">
     9     <RelativeLayout android:id="@+id/tabs_panel_header"
    10                     android:layout_width="fill_parent"
    11                     android:layout_height="@dimen/browser_toolbar_height">
    13         <view class="org.mozilla.gecko.TabsPanel$TabsPanelToolbar"
    14               android:layout_width="fill_parent"
    15               android:layout_height="fill_parent"
    16               android:background="@color/background_tabs">
    18             <include layout="@layout/tabs_panel_header"/>
    20         </view>
    22         <View android:layout_width="fill_parent"
    23               android:layout_height="2dp"
    24               android:layout_alignParentBottom="true"
    25               android:background="#1A000000"/>
    27     </RelativeLayout>
    29     <view class="org.mozilla.gecko.TabsPanel$TabsListContainer"
    30           android:id="@+id/tabs_container"
    31           android:layout_width="fill_parent"
    32           android:layout_height="wrap_content">
    34         <org.mozilla.gecko.TabsTray android:id="@+id/normal_tabs"
    35                                     style="@style/TabsList"
    36                                     android:layout_width="fill_parent"
    37                                     android:layout_height="fill_parent"
    38                                     android:choiceMode="singleChoice"
    39                                     android:visibility="gone"
    40                                     gecko:tabs="tabs_normal"/>
    42         <org.mozilla.gecko.TabsTray android:id="@+id/private_tabs"
    43                                     style="@style/TabsList"
    44                                     android:layout_width="fill_parent"
    45                                     android:layout_height="fill_parent"
    46                                     android:choiceMode="singleChoice"
    47                                     android:visibility="gone"
    48                                     gecko:tabs="tabs_private"/>
    50         <org.mozilla.gecko.RemoteTabsContainer android:id="@+id/synced_tabs"
    51                                                android:layout_width="fill_parent"
    52                                                android:layout_height="fill_parent"
    53                                                android:visibility="gone">
    55             <org.mozilla.gecko.RemoteTabsList android:id="@+id/synced_tabs_list"
    56                                           style="@style/RemoteTabsList"
    57                                           android:layout_width="fill_parent"
    58                                           android:layout_height="fill_parent"
    59                                           android:paddingLeft="@dimen/tabs_panel_list_padding"
    60                                           android:paddingRight="@dimen/tabs_panel_list_padding"
    61                                           android:scrollbarStyle="outsideOverlay"/>
    63         </org.mozilla.gecko.RemoteTabsContainer>
    65     </view>
    67 </merge>

mercurial