1<!--
2  ~ Copyright (C) 2020 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<com.android.systemui.statusbar.notification.row.ForegroundServiceDungeonView
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:id="@+id/foreground_service_dungeon"
20    android:layout_width="@dimen/qs_panel_width"
21    android:layout_height="wrap_content"
22    android:layout_gravity="center_horizontal|bottom"
23    android:visibility="visible"
24>
25    <LinearLayout
26        android:layout_height="wrap_content"
27        android:layout_width="match_parent"
28        android:orientation="vertical"
29        android:gravity="bottom"
30        android:visibility="visible"
31        android:background="@drawable/notif_dungeon_bg_gradient"
32    >
33
34        <!-- divider view -->
35        <View
36            android:layout_width="match_parent"
37            android:layout_height="1dp"
38            android:background="@color/GM2_grey_200"
39            android:visibility="visible"
40        />
41
42        <TextView
43            android:id="@+id/dungeon_title"
44            android:layout_height="48dp"
45            android:layout_width="match_parent"
46            android:padding="8dp"
47            android:text="Apps active in background"
48            android:textColor="@color/GM2_grey_200"
49        />
50
51        <!--  List containing the actual foreground service notifications  -->
52        <LinearLayout
53            android:id="@+id/entry_list"
54            android:layout_width="match_parent"
55            android:layout_height="wrap_content"
56            android:gravity="bottom"
57            android:orientation="vertical" >
58        </LinearLayout>
59
60    </LinearLayout>
61</com.android.systemui.statusbar.notification.row.ForegroundServiceDungeonView>
62