summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/private_tabs_panel.xml
blob: 2c553abd704b21959969e000323daef9401ae9e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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>