Julia Reynolds | b37d565 | 2019-12-12 08:12:29 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 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 | <LinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Julia Reynolds | b37d565 | 2019-12-12 08:12:29 -0500 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="wrap_content" |
| 21 | android:orientation="vertical"> |
| 22 | |
| 23 | <RelativeLayout |
| 24 | android:id="@+id/app_header" |
Julia Reynolds | 24aac21 | 2020-02-10 17:24:50 -0500 | [diff] [blame] | 25 | android:layout_height="wrap_content" |
| 26 | android:layout_width="match_parent" |
Julia Reynolds | 0bdffb9 | 2020-07-09 12:52:36 -0400 | [diff] [blame] | 27 | android:background="@drawable/button_ripple_radius" |
Julia Reynolds | 24aac21 | 2020-02-10 17:24:50 -0500 | [diff] [blame] | 28 | android:paddingTop="12dp" |
| 29 | android:paddingBottom="12dp" |
| 30 | android:paddingStart="16dp"> |
| 31 | <LinearLayout |
Julia Reynolds | b37d565 | 2019-12-12 08:12:29 -0500 | [diff] [blame] | 32 | android:layout_width="wrap_content" |
Julia Reynolds | 24aac21 | 2020-02-10 17:24:50 -0500 | [diff] [blame] | 33 | android:layout_height="wrap_content" |
| 34 | android:orientation="vertical"> |
| 35 | <LinearLayout |
| 36 | android:layout_width="wrap_content" |
| 37 | android:layout_height="wrap_content" |
| 38 | android:orientation="horizontal"> |
| 39 | <ImageView |
| 40 | android:id="@+id/icon" |
| 41 | android:layout_height="24dp" |
| 42 | android:layout_width="24dp" |
| 43 | android:layout_gravity="center_vertical" |
| 44 | android:scaleType="centerInside"/> |
| 45 | <TextView |
| 46 | android:id="@+id/label" |
| 47 | android:layout_height="wrap_content" |
| 48 | android:layout_width="wrap_content" |
| 49 | android:layout_gravity="center_vertical" |
Julia Reynolds | cfabcd2 | 2020-02-11 16:27:38 -0500 | [diff] [blame] | 50 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification" |
Julia Reynolds | 24aac21 | 2020-02-10 17:24:50 -0500 | [diff] [blame] | 51 | android:paddingStart="8dp" /> |
| 52 | </LinearLayout> |
| 53 | <TextView |
| 54 | android:id="@+id/count" |
| 55 | android:layout_height="wrap_content" |
| 56 | android:layout_width="wrap_content" |
| 57 | android:paddingStart="6dp" |
Julia Reynolds | 52cf852 | 2020-07-16 12:56:37 -0400 | [diff] [blame] | 58 | android:layout_gravity="start|center_vertical" |
| 59 | android:textDirection="locale" |
Julia Reynolds | 24aac21 | 2020-02-10 17:24:50 -0500 | [diff] [blame] | 60 | android:paddingTop="8dp" |
Julia Reynolds | cfabcd2 | 2020-02-11 16:27:38 -0500 | [diff] [blame] | 61 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title"/> |
Julia Reynolds | 24aac21 | 2020-02-10 17:24:50 -0500 | [diff] [blame] | 62 | </LinearLayout> |
Julia Reynolds | 0bdffb9 | 2020-07-09 12:52:36 -0400 | [diff] [blame] | 63 | <ImageView |
Julia Reynolds | b37d565 | 2019-12-12 08:12:29 -0500 | [diff] [blame] | 64 | android:id="@+id/expand" |
| 65 | android:layout_alignParentEnd="true" |
| 66 | android:layout_centerVertical="true" |
| 67 | android:layout_height="48dp" |
| 68 | android:layout_width="48dp" |
Julia Reynolds | 0bdffb9 | 2020-07-09 12:52:36 -0400 | [diff] [blame] | 69 | android:scaleType="center" |
| 70 | android:contentDescription="@null" |
Julia Reynolds | b37d565 | 2019-12-12 08:12:29 -0500 | [diff] [blame] | 71 | android:src="@*android:drawable/ic_expand_more"/> |
| 72 | </RelativeLayout> |
| 73 | |
Julia Reynolds | 24aac21 | 2020-02-10 17:24:50 -0500 | [diff] [blame] | 74 | <View |
| 75 | android:layout_width="match_parent" |
| 76 | android:layout_height="1dp" |
| 77 | android:background="?android:attr/listDivider"/> |
| 78 | |
Julia Reynolds | eabc190 | 2020-03-27 15:56:41 -0400 | [diff] [blame] | 79 | <com.android.settings.notification.history.NotificationHistoryRecyclerView |
Julia Reynolds | b37d565 | 2019-12-12 08:12:29 -0500 | [diff] [blame] | 80 | android:id="@+id/notification_list" |
| 81 | android:layout_width="match_parent" |
Julia Reynolds | a7a44fe | 2020-03-12 15:20:39 -0400 | [diff] [blame] | 82 | android:layout_height="wrap_content" |
Julia Reynolds | b37d565 | 2019-12-12 08:12:29 -0500 | [diff] [blame] | 83 | android:clipChildren="true" |
Julia Reynolds | 2679bf5 | 2020-05-21 12:02:33 -0400 | [diff] [blame] | 84 | android:clipToPadding="true" |
Julia Reynolds | ecb66ce | 2020-04-10 15:34:19 -0400 | [diff] [blame] | 85 | android:importantForAccessibility="yes" |
Julia Reynolds | cfb1f98 | 2020-03-30 11:54:21 -0400 | [diff] [blame] | 86 | android:scrollbars="none"/> |
Julia Reynolds | b37d565 | 2019-12-12 08:12:29 -0500 | [diff] [blame] | 87 | |
Julia Reynolds | b37d565 | 2019-12-12 08:12:29 -0500 | [diff] [blame] | 88 | </LinearLayout> |