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:androidprv="http://schemas.android.com/apk/prv/res/android" 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:textAppearance="?android:attr/textAppearanceMedium" 53 android:visibility="gone" /> 54 55 <LinearLayout 56 android:theme="@style/Theme.TabTheme" 57 android:id="@+id/tab_container" 58 android:clipToPadding="true" 59 android:clipChildren="true" 60 android:layout_width="match_parent" 61 android:layout_height="match_parent" 62 android:orientation="vertical" 63 android:visibility="gone"> 64 65 <com.google.android.material.tabs.TabLayout 66 android:id="@+id/tabs" 67 style="@style/SettingsLibTabsStyle"/> 68 69 <androidx.viewpager2.widget.ViewPager2 70 android:id="@+id/view_pager" 71 android:layout_width="match_parent" 72 android:layout_height="match_parent"> 73 74 </androidx.viewpager2.widget.ViewPager2> 75 </LinearLayout> 76 77</LinearLayout> 78 79