<!--
  ~ Copyright (C) 2014 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License
  -->

<!-- Extends Framelayout -->
<com.android.systemui.statusbar.notification.footer.ui.view.FooterView
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:visibility="gone">
    <com.android.systemui.statusbar.AlphaOptimizedFrameLayout
        android:id="@+id/content"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <TextView
            android:id="@+id/unlock_prompt_footer"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="12dp"
            android:layout_gravity="center_horizontal"
            android:gravity="center"
            android:drawablePadding="8dp"
            android:visibility="gone"
            android:textAppearance="?android:attr/textAppearanceButton"
            android:text="@string/unlock_to_see_notif_text"/>
        <androidx.constraintlayout.widget.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            >
            <com.android.systemui.statusbar.notification.row.FooterViewButton
                style="@style/TextAppearance.NotificationFooterButton"
                android:id="@+id/manage_text"
                android:layout_width="wrap_content"
                android:layout_height="48dp"
                android:layout_marginTop="12dp"
                android:layout_marginStart="16dp"
                app:layout_constraintHorizontal_bias="0.0"
                app:layout_constraintHorizontal_chainStyle="spread_inside"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintEnd_toStartOf="@id/dismiss_text"
                android:background="@drawable/notif_footer_btn_background"
                android:focusable="true"
                android:contentDescription="@string/manage_notifications_history_text"
                android:text="@string/manage_notifications_history_text"
                />
            <com.android.systemui.statusbar.notification.row.FooterViewButton
                style="@style/TextAppearance.NotificationFooterButton"
                android:id="@+id/dismiss_text"
                android:layout_width="wrap_content"
                android:layout_height="48dp"
                android:layout_marginTop="12dp"
                android:layout_marginEnd="16dp"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintStart_toEndOf="@id/manage_text"
                android:background="@drawable/notif_footer_btn_background"
                android:focusable="true"
                android:contentDescription="@string/accessibility_clear_all"
                android:text="@string/clear_all_notifications_text"
                />
        </androidx.constraintlayout.widget.ConstraintLayout>
    </com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
</com.android.systemui.statusbar.notification.footer.ui.view.FooterView>
