|
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/. --> |
|
5 |
|
6 <merge xmlns:android="http://schemas.android.com/apk/res/android" |
|
7 xmlns:gecko="http://schemas.android.com/apk/res-auto"> |
|
8 |
|
9 <RelativeLayout android:id="@+id/tabs_panel_header" |
|
10 android:layout_width="fill_parent" |
|
11 android:layout_height="@dimen/browser_toolbar_height"> |
|
12 |
|
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"> |
|
17 |
|
18 <include layout="@layout/tabs_panel_header"/> |
|
19 |
|
20 </view> |
|
21 |
|
22 <View android:layout_width="fill_parent" |
|
23 android:layout_height="2dp" |
|
24 android:layout_alignParentBottom="true" |
|
25 android:background="#1A000000"/> |
|
26 |
|
27 </RelativeLayout> |
|
28 |
|
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"> |
|
33 |
|
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"/> |
|
41 |
|
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"/> |
|
49 |
|
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"> |
|
54 |
|
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"/> |
|
62 |
|
63 </org.mozilla.gecko.RemoteTabsContainer> |
|
64 |
|
65 </view> |
|
66 |
|
67 </merge> |