1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2014, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10**     http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19
20<LinearLayout
21    xmlns:android="http://schemas.android.com/apk/res/android"
22    xmlns:app="http://schemas.android.com/apk/res-auto"
23    android:id="@+id/container_material"
24    android:orientation="vertical"
25    android:layout_width="match_parent"
26    android:layout_height="match_parent"
27    android:background="@android:color/transparent">
28
29    <FrameLayout android:id="@+id/pinned_header"
30        android:layout_width="match_parent"
31        android:layout_height="wrap_content"
32        android:background="?android:attr/windowBackground"
33        android:elevation="1dp"
34        android:visibility="gone"/>
35
36    <FrameLayout
37        android:id="@android:id/list_container"
38        android:layout_height="0px"
39        android:layout_weight="1"
40        android:layout_width="match_parent">
41
42        <include layout="@layout/loading_container" />
43
44    </FrameLayout>
45
46    <TextView android:id="@android:id/empty"
47        android:layout_width="wrap_content"
48        android:layout_height="match_parent"
49        android:padding="@*android:dimen/preference_fragment_padding_side"
50        android:layout_gravity="center"
51        android:gravity="center_vertical"
52        android:visibility="gone" />
53
54    <LinearLayout
55        android:theme="@style/Theme.TabTheme"
56        android:id="@+id/tab_container"
57        android:clipToPadding="true"
58        android:clipChildren="true"
59        android:layout_width="match_parent"
60        android:layout_height="match_parent"
61        android:orientation="vertical"
62        android:visibility="gone">
63
64        <com.google.android.material.tabs.TabLayout
65            android:background="@android:color/transparent"
66            android:id="@+id/tabs"
67            android:layout_width="match_parent"
68            android:layout_height="wrap_content"
69            android:layoutDirection="ltr"
70            app:tabMaxWidth="0dp"
71            app:tabGravity="fill"
72            app:tabMode="fixed"
73            app:tabIndicatorColor="@*android:color/accent_device_default"
74            app:tabSelectedTextColor="@*android:color/accent_device_default"
75            app:tabTextAppearance="@style/TextAppearance.Tab"
76            app:tabTextColor="?android:attr/textColorSecondary"/>
77        <View
78            android:layout_width="match_parent"
79            android:layout_height="1dp"
80            android:background="?android:attr/listDivider"/>
81
82        <androidx.viewpager.widget.ViewPager
83            android:id="@+id/view_pager"
84            android:layout_width="match_parent"
85            android:layout_height="match_parent">
86
87        </androidx.viewpager.widget.ViewPager>
88    </LinearLayout>
89
90</LinearLayout>
91
92