diff options
Diffstat (limited to 'mobile/android/base/resources/layout/private_tabs_panel.xml')
-rw-r--r-- | mobile/android/base/resources/layout/private_tabs_panel.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mobile/android/base/resources/layout/private_tabs_panel.xml b/mobile/android/base/resources/layout/private_tabs_panel.xml new file mode 100644 index 000000000..2c553abd7 --- /dev/null +++ b/mobile/android/base/resources/layout/private_tabs_panel.xml @@ -0,0 +1,25 @@ +<?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:gecko="http://schemas.android.com/apk/res-auto"> + + <ImageView android:id="@+id/private_tabs_empty" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:src="@drawable/private_masq" + android:layout_gravity="center"/> + + <!-- 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.gecko.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" + gecko:tabs="tabs_private"/> + +</merge> |