blob: 0e45e43132de2005f149c8fc9f95a694b1424462 [file] [log] [blame]
Brad Stenningc622f1d2019-01-29 11:24:11 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2018 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<com.android.car.notification.CarNotificationView
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:app="http://schemas.android.com/apk/res-auto"
20 android:id="@+id/notification_view"
21 android:layout_width="match_parent"
Brad Stenning3b0d7642019-03-28 11:04:30 -070022 android:layout_height="match_parent"
23 android:background="@color/notification_shade_background_color">
Brad Stenningc622f1d2019-01-29 11:24:11 -080024
Pardis Beikzadeh95501932020-06-17 15:38:08 -070025 <com.android.car.ui.FocusParkingView
26 android:layout_width="wrap_content"
27 android:layout_height="wrap_content"/>
28
Brad Stenningc622f1d2019-01-29 11:24:11 -080029 <View
Priyank Singh647f9e62019-05-16 15:19:53 -070030 android:id="@+id/glass_pane"
31 android:layout_width="match_parent"
32 android:layout_height="match_parent"
33 android:translationZ="2dp"
34 app:layout_constraintBottom_toBottomOf="parent"
35 app:layout_constraintEnd_toEndOf="parent"
36 app:layout_constraintStart_toStartOf="parent"
37 app:layout_constraintTop_toTopOf="parent"
38 />
Brad Stenningc622f1d2019-01-29 11:24:11 -080039
Pardis Beikzadeh95501932020-06-17 15:38:08 -070040 <com.android.car.ui.FocusArea
Brad Stenningc622f1d2019-01-29 11:24:11 -080041 android:layout_width="0dp"
42 android:layout_height="0dp"
43 android:orientation="vertical"
Brad Stenningc622f1d2019-01-29 11:24:11 -080044 app:layout_constraintBottom_toBottomOf="parent"
Priyank Singh647f9e62019-05-16 15:19:53 -070045 app:layout_constraintEnd_toEndOf="parent"
Brad Stenningc622f1d2019-01-29 11:24:11 -080046 app:layout_constraintStart_toStartOf="parent"
Pardis Beikzadeh95501932020-06-17 15:38:08 -070047 app:layout_constraintTop_toTopOf="parent">
48 <androidx.recyclerview.widget.RecyclerView
49 android:id="@+id/notifications"
50 android:layout_width="match_parent"
51 android:layout_height="match_parent"
52 android:paddingBottom="@dimen/notification_shade_list_padding_bottom"/>
53 </com.android.car.ui.FocusArea>
Priyank Singh647f9e62019-05-16 15:19:53 -070054
55 <include layout="@layout/notification_handle_bar"/>
Brad Stenningc622f1d2019-01-29 11:24:11 -080056
57</com.android.car.notification.CarNotificationView>