<!--
  ~ Copyright (C) 2025 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
  -->

<!-- This layout replaces status_bar_no_notifications when ShowIconInEmptyShade is turned on. -->
<!-- Extends FrameLayout -->
<com.android.systemui.statusbar.notification.emptyshade.ui.view.EmptyShadeIconView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:visibility="gone">

    <LinearLayout
        android:id="@id/content"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center"
        android:orientation="vertical"
        android:paddingVertical="@dimen/empty_shade_vertical_padding"
        android:paddingHorizontal="@dimen/empty_shade_horizontal_padding">

        <ImageView
            android:id="@id/icon"
            android:layout_width="@dimen/empty_shade_icon_size"
            android:layout_height="@dimen/empty_shade_icon_size"
            android:layout_marginBottom="@dimen/empty_shade_icon_bottom_margin"
            android:scaleType="fitCenter"
            app:tint="@androidprv:color/materialColorOnSurface"
            android:importantForAccessibility="no"
            android:src="@drawable/ic_trophy"></ImageView>

        <TextView
            android:id="@+id/text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:text="@string/empty_shade_text"
            android:textAppearance="@style/TextAppearance.NotificationShadeText" />
    </LinearLayout>
</com.android.systemui.statusbar.notification.emptyshade.ui.view.EmptyShadeIconView>
