Gurpreet Singh | 7138788 | 2023-01-09 19:07:43 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright (C) 2014 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 | |
| 18 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/status_bar_latest_event_content" |
| 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="wrap_content" |
| 22 | android:tag="inbox" |
| 23 | android:clipChildren="false" |
| 24 | > |
| 25 | <include layout="@layout/notification_template_header" /> |
| 26 | <LinearLayout |
| 27 | android:id="@+id/notification_action_list_margin_target" |
| 28 | android:layout_width="match_parent" |
| 29 | android:layout_height="match_parent" |
| 30 | android:layout_gravity="top" |
| 31 | android:layout_marginTop="@dimen/notification_content_margin_top" |
| 32 | android:clipToPadding="false" |
| 33 | android:orientation="vertical"> |
| 34 | |
| 35 | <LinearLayout |
| 36 | android:id="@+id/notification_main_column" |
| 37 | android:layout_width="match_parent" |
| 38 | android:layout_height="wrap_content" |
| 39 | android:layout_gravity="top" |
| 40 | android:paddingStart="@dimen/notification_content_margin_start" |
| 41 | android:paddingEnd="@dimen/notification_content_margin_end" |
| 42 | android:layout_weight="1" |
| 43 | android:clipToPadding="false" |
| 44 | android:orientation="vertical" |
| 45 | > |
| 46 | <include layout="@layout/notification_template_part_line1" |
| 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="wrap_content" /> |
| 49 | <include layout="@layout/notification_template_progress" |
| 50 | android:layout_width="match_parent" |
| 51 | android:layout_height="@dimen/notification_progress_bar_height" |
| 52 | android:layout_marginTop="@dimen/notification_progress_margin_top" |
| 53 | android:layout_marginBottom="2dp"/> |
| 54 | <TextView android:id="@+id/inbox_text0" |
| 55 | style="@style/Widget.DeviceDefault.Notification.Text" |
| 56 | android:layout_width="match_parent" |
| 57 | android:layout_height="0dp" |
| 58 | android:singleLine="true" |
| 59 | android:ellipsize="end" |
| 60 | android:visibility="gone" |
| 61 | android:layout_weight="1" |
| 62 | /> |
| 63 | <TextView android:id="@+id/inbox_text1" |
| 64 | style="@style/Widget.DeviceDefault.Notification.Text" |
| 65 | android:layout_width="match_parent" |
| 66 | android:layout_height="0dp" |
| 67 | android:singleLine="true" |
| 68 | android:ellipsize="end" |
| 69 | android:visibility="gone" |
| 70 | android:layout_weight="1" |
| 71 | /> |
| 72 | <TextView android:id="@+id/inbox_text2" |
| 73 | style="@style/Widget.DeviceDefault.Notification.Text" |
| 74 | android:layout_width="match_parent" |
| 75 | android:layout_height="0dp" |
| 76 | android:singleLine="true" |
| 77 | android:ellipsize="end" |
| 78 | android:visibility="gone" |
| 79 | android:layout_weight="1" |
| 80 | /> |
| 81 | <TextView android:id="@+id/inbox_text3" |
| 82 | style="@style/Widget.DeviceDefault.Notification.Text" |
| 83 | android:layout_width="match_parent" |
| 84 | android:layout_height="0dp" |
| 85 | android:singleLine="true" |
| 86 | android:ellipsize="end" |
| 87 | android:visibility="gone" |
| 88 | android:layout_weight="1" |
| 89 | /> |
| 90 | <TextView android:id="@+id/inbox_text4" |
| 91 | style="@style/Widget.DeviceDefault.Notification.Text" |
| 92 | android:layout_width="match_parent" |
| 93 | android:layout_height="0dp" |
| 94 | android:singleLine="true" |
| 95 | android:ellipsize="end" |
| 96 | android:visibility="gone" |
| 97 | android:layout_weight="1" |
| 98 | /> |
| 99 | <TextView android:id="@+id/inbox_text5" |
| 100 | style="@style/Widget.DeviceDefault.Notification.Text" |
| 101 | android:layout_width="match_parent" |
| 102 | android:layout_height="0dp" |
| 103 | android:singleLine="true" |
| 104 | android:ellipsize="end" |
| 105 | android:visibility="gone" |
| 106 | android:layout_weight="1" |
| 107 | /> |
| 108 | <TextView android:id="@+id/inbox_text6" |
| 109 | style="@style/Widget.DeviceDefault.Notification.Text" |
| 110 | android:layout_width="match_parent" |
| 111 | android:layout_height="0dp" |
| 112 | android:singleLine="true" |
| 113 | android:ellipsize="end" |
| 114 | android:visibility="gone" |
| 115 | android:layout_weight="1" |
| 116 | /> |
| 117 | </LinearLayout> |
| 118 | <ViewStub android:layout="@layout/notification_material_reply_text" |
| 119 | android:id="@+id/notification_material_reply_container" |
| 120 | android:layout_width="match_parent" |
| 121 | android:layout_height="wrap_content" /> |
| 122 | <include layout="@layout/notification_template_smart_reply_container" |
| 123 | android:layout_width="match_parent" |
| 124 | android:layout_height="wrap_content" |
| 125 | android:layout_marginStart="@dimen/notification_content_margin_start" |
| 126 | android:layout_marginEnd="@dimen/notification_content_margin_end" |
| 127 | android:layout_marginTop="@dimen/notification_content_margin" /> |
| 128 | <include layout="@layout/notification_material_action_list" /> |
| 129 | </LinearLayout> |
| 130 | <include layout="@layout/notification_template_right_icon" /> |
| 131 | </FrameLayout> |