|
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="0dip" |
|
33 android:layout_weight="1.0"> |
|
34 |
|
35 <org.mozilla.gecko.TabsTray android:id="@+id/normal_tabs" |
|
36 style="@style/TabsList" |
|
37 android:layout_width="fill_parent" |
|
38 android:layout_height="fill_parent" |
|
39 android:choiceMode="singleChoice" |
|
40 android:visibility="gone" |
|
41 gecko:tabs="tabs_normal"/> |
|
42 |
|
43 <org.mozilla.gecko.TabsTray android:id="@+id/private_tabs" |
|
44 style="@style/TabsList" |
|
45 android:layout_width="fill_parent" |
|
46 android:layout_height="fill_parent" |
|
47 android:choiceMode="singleChoice" |
|
48 android:visibility="gone" |
|
49 gecko:tabs="tabs_private"/> |
|
50 |
|
51 <org.mozilla.gecko.RemoteTabsContainer android:id="@+id/synced_tabs" |
|
52 android:layout_width="fill_parent" |
|
53 android:layout_height="fill_parent" |
|
54 android:visibility="gone"> |
|
55 |
|
56 <org.mozilla.gecko.RemoteTabsList android:id="@+id/synced_tabs_list" |
|
57 style="@style/RemoteTabsList" |
|
58 android:layout_width="fill_parent" |
|
59 android:layout_height="fill_parent" |
|
60 android:paddingLeft="@dimen/tabs_panel_list_padding" |
|
61 android:paddingRight="@dimen/tabs_panel_list_padding" |
|
62 android:scrollbarStyle="outsideOverlay"/> |
|
63 |
|
64 </org.mozilla.gecko.RemoteTabsContainer> |
|
65 |
|
66 </view> |
|
67 |
|
68 <RelativeLayout android:id="@+id/tabs_panel_footer" |
|
69 android:layout_width="fill_parent" |
|
70 android:layout_height="@dimen/browser_toolbar_height"> |
|
71 |
|
72 <view class="org.mozilla.gecko.TabsPanel$TabsPanelToolbar" |
|
73 android:layout_width="fill_parent" |
|
74 android:layout_height="fill_parent" |
|
75 android:background="@color/background_tabs"> |
|
76 |
|
77 <include layout="@layout/tabs_panel_footer"/> |
|
78 |
|
79 </view> |
|
80 |
|
81 <View android:layout_width="fill_parent" |
|
82 android:layout_height="2dp" |
|
83 android:layout_alignParentTop="true" |
|
84 android:background="#1A000000"/> |
|
85 |
|
86 </RelativeLayout> |
|
87 |
|
88 </merge> |