Update to platforms;android-28.
[android_tools.git] / sdk / platforms / android-28 / data / res / layout / notification_template_material_messaging.xml
blob10c750972961bfbd3114fa2b1cf8f783c0dd0e49
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   ~ Copyright (C) 2016 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.internal.widget.MessagingLayout
18     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:clipChildren="false"
23     android:tag="messaging"
24     >
25     <include layout="@layout/notification_template_header"/>
26     <com.android.internal.widget.RemeasuringLinearLayout
27             android:id="@+id/notification_action_list_margin_target"
28             android:layout_width="match_parent"
29             android:layout_height="wrap_content"
30             android:layout_gravity="top"
31             android:layout_marginTop="@dimen/notification_content_margin_top"
32             android:clipToPadding="false"
33             android:orientation="vertical">
35         <com.android.internal.widget.RemeasuringLinearLayout
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:layout_weight="1"
41             android:layout_marginStart="@dimen/notification_content_margin_start"
42             android:layout_marginEnd="@dimen/notification_content_margin_end"
43             android:minHeight="@dimen/notification_min_content_height"
44             android:orientation="vertical"
45             >
46             <com.android.internal.widget.MessagingLinearLayout
47                 android:id="@+id/notification_messaging"
48                 android:layout_width="match_parent"
49                 android:layout_height="wrap_content"
50                 android:spacing="@dimen/notification_messaging_spacing" />
51         </com.android.internal.widget.RemeasuringLinearLayout>
52         <include layout="@layout/notification_template_smart_reply_container"
53                 android:layout_width="match_parent"
54                 android:layout_height="wrap_content"
55                 android:layout_marginTop="@dimen/notification_content_margin"
56                 android:layout_marginStart="@dimen/notification_content_margin_start"
57                 android:layout_marginEnd="@dimen/notification_content_margin_end" />
58         <include layout="@layout/notification_material_action_list" />
59     </com.android.internal.widget.RemeasuringLinearLayout>
60     <include layout="@layout/notification_template_right_icon"/>
61 </com.android.internal.widget.MessagingLayout>