Brad Stenning | c622f1d | 2019-01-29 11:24:11 -0800 | [diff] [blame] | 1 | <?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 Stenning | 3b0d764 | 2019-03-28 11:04:30 -0700 | [diff] [blame] | 22 | android:layout_height="match_parent" |
| 23 | android:background="@color/notification_shade_background_color"> |
Brad Stenning | c622f1d | 2019-01-29 11:24:11 -0800 | [diff] [blame] | 24 | |
Pardis Beikzadeh | 9550193 | 2020-06-17 15:38:08 -0700 | [diff] [blame] | 25 | <com.android.car.ui.FocusParkingView |
| 26 | android:layout_width="wrap_content" |
| 27 | android:layout_height="wrap_content"/> |
| 28 | |
Brad Stenning | c622f1d | 2019-01-29 11:24:11 -0800 | [diff] [blame] | 29 | <View |
Priyank Singh | 647f9e6 | 2019-05-16 15:19:53 -0700 | [diff] [blame] | 30 | 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 Stenning | c622f1d | 2019-01-29 11:24:11 -0800 | [diff] [blame] | 39 | |
Pardis Beikzadeh | 9550193 | 2020-06-17 15:38:08 -0700 | [diff] [blame] | 40 | <com.android.car.ui.FocusArea |
Brad Stenning | c622f1d | 2019-01-29 11:24:11 -0800 | [diff] [blame] | 41 | android:layout_width="0dp" |
| 42 | android:layout_height="0dp" |
| 43 | android:orientation="vertical" |
Brad Stenning | c622f1d | 2019-01-29 11:24:11 -0800 | [diff] [blame] | 44 | app:layout_constraintBottom_toBottomOf="parent" |
Priyank Singh | 647f9e6 | 2019-05-16 15:19:53 -0700 | [diff] [blame] | 45 | app:layout_constraintEnd_toEndOf="parent" |
Brad Stenning | c622f1d | 2019-01-29 11:24:11 -0800 | [diff] [blame] | 46 | app:layout_constraintStart_toStartOf="parent" |
Pardis Beikzadeh | 9550193 | 2020-06-17 15:38:08 -0700 | [diff] [blame] | 47 | 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 Singh | 647f9e6 | 2019-05-16 15:19:53 -0700 | [diff] [blame] | 54 | |
| 55 | <include layout="@layout/notification_handle_bar"/> |
Brad Stenning | c622f1d | 2019-01-29 11:24:11 -0800 | [diff] [blame] | 56 | |
| 57 | </com.android.car.notification.CarNotificationView> |