1<!--
2  ~ Copyright (C) 2014 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<!-- Extends Framelayout -->
18<com.android.systemui.statusbar.notification.footer.ui.view.FooterView
19        xmlns:android="http://schemas.android.com/apk/res/android"
20        xmlns:app="http://schemas.android.com/apk/res-auto"
21        android:layout_width="match_parent"
22        android:layout_height="wrap_content"
23        android:visibility="gone">
24    <com.android.systemui.statusbar.AlphaOptimizedFrameLayout
25        android:id="@+id/content"
26        android:layout_width="match_parent"
27        android:layout_height="wrap_content">
28        <TextView
29            android:id="@+id/unlock_prompt_footer"
30            android:layout_width="wrap_content"
31            android:layout_height="wrap_content"
32            android:layout_marginTop="12dp"
33            android:layout_gravity="center_horizontal"
34            android:gravity="center"
35            android:drawablePadding="8dp"
36            android:visibility="gone"
37            android:textAppearance="?android:attr/textAppearanceButton"
38            android:text="@string/unlock_to_see_notif_text"/>
39        <androidx.constraintlayout.widget.ConstraintLayout
40            android:layout_width="match_parent"
41            android:layout_height="wrap_content"
42            >
43            <com.android.systemui.statusbar.notification.row.FooterViewButton
44                style="@style/TextAppearance.NotificationFooterButton"
45                android:id="@+id/manage_text"
46                android:layout_width="wrap_content"
47                android:layout_height="48dp"
48                android:layout_marginTop="12dp"
49                android:layout_marginStart="16dp"
50                app:layout_constraintHorizontal_bias="0.0"
51                app:layout_constraintHorizontal_chainStyle="spread_inside"
52                app:layout_constraintStart_toStartOf="parent"
53                app:layout_constraintTop_toTopOf="parent"
54                app:layout_constraintEnd_toStartOf="@id/dismiss_text"
55                android:background="@drawable/notif_footer_btn_background"
56                android:focusable="true"
57                android:contentDescription="@string/manage_notifications_history_text"
58                android:text="@string/manage_notifications_history_text"
59                />
60            <com.android.systemui.statusbar.notification.row.FooterViewButton
61                style="@style/TextAppearance.NotificationFooterButton"
62                android:id="@+id/dismiss_text"
63                android:layout_width="wrap_content"
64                android:layout_height="48dp"
65                android:layout_marginTop="12dp"
66                android:layout_marginEnd="16dp"
67                app:layout_constraintEnd_toEndOf="parent"
68                app:layout_constraintTop_toTopOf="parent"
69                app:layout_constraintStart_toEndOf="@id/manage_text"
70                android:background="@drawable/notif_footer_btn_background"
71                android:focusable="true"
72                android:contentDescription="@string/accessibility_clear_all"
73                android:text="@string/clear_all_notifications_text"
74                />
75        </androidx.constraintlayout.widget.ConstraintLayout>
76    </com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
77</com.android.systemui.statusbar.notification.footer.ui.view.FooterView>
78