1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<androidx.coordinatorlayout.widget.CoordinatorLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    android:orientation="vertical">
23
24    <LinearLayout
25        android:layout_width="match_parent"
26        android:layout_height="match_parent"
27        android:gravity="center"
28        android:orientation="vertical">
29
30        <TextView
31            android:id="@+id/empty_header"
32            android:gravity="center"
33            android:layout_width="wrap_content"
34            android:layout_height="wrap_content"
35            android:text="@string/disabled_feature"
36            android:textAppearance="?android:attr/textAppearanceLarge"/>
37
38        <TextView
39            android:id="@+id/empty_body"
40            android:gravity="center"
41            android:layout_width="wrap_content"
42            android:layout_height="wrap_content"
43            android:text="@string/disabled_feature_reason_slow_down_phone"
44            android:textAppearance="?android:attr/textAppearanceSmall"/>
45
46        <com.google.android.material.appbar.AppBarLayout
47            android:layout_width="match_parent"
48            android:layout_height="wrap_content">
49            <FrameLayout
50                android:id="@+id/pinned_header"
51                android:layout_width="match_parent"
52                android:layout_height="wrap_content"
53                settings:layout_scrollFlags="scroll|enterAlways"/>
54        </com.google.android.material.appbar.AppBarLayout>
55
56    </LinearLayout>
57
58</androidx.coordinatorlayout.widget.CoordinatorLayout>
59