mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-08 09:28:51 +00:00
60 lines
2.6 KiB
XML
60 lines
2.6 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/. -->
|
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:goanna="http://schemas.android.com/apk/res-auto">
|
|
|
|
<ScrollView android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout android:id="@+id/private_tabs_empty"
|
|
style="@style/TabsPanelFrame.PrivateTabs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout style="@style/TabsPanelSection.PrivateTabs.Header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView android:id="@+id/private_tabs_empty_header"
|
|
style="@style/TabsPanelItem.TextAppearance.Header.PrivateTabs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/private_browsing_title"/>
|
|
|
|
<TextView style="@style/TabsPanelItem.TextAppearance"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/private_tabs_panel_empty_desc"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/TabsPanelSection.PrivateTabs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<TextView android:id="@+id/private_tabs_learn_more"
|
|
style="@style/TabsPanelItem.TextAppearance.Linkified.LearnMore"
|
|
android:layout_width="match_parent"
|
|
android:text="@string/private_tabs_panel_learn_more"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
<!-- Note: for an unknown reason, scrolling in the TabsLayout
|
|
does not work unless it is laid out after the empty view. -->
|
|
<view class="org.mozilla.goanna.tabs.TabsPanel$TabsLayout"
|
|
android:id="@+id/private_tabs_layout"
|
|
style="@style/TabsLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:choiceMode="singleChoice"
|
|
goanna:tabs="tabs_private"/>
|
|
|
|
</merge>
|