1 <?xml version="1.0" encoding="utf-8"?>
3 ~ Copyright (C) 2014 The Android Open Source Project
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
9 ~ http://www.apache.org/licenses/LICENSE-2.0
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
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:clipChildren="false"
25 <include layout="@layout/notification_template_header" />
27 <com.android.internal.widget.RemeasuringLinearLayout
28 android:id="@+id/notification_action_list_margin_target"
29 android:layout_width="match_parent"
30 android:layout_height="match_parent"
31 android:layout_gravity="top"
32 android:layout_marginTop="@dimen/notification_content_margin_top"
33 android:layout_marginBottom="@dimen/notification_action_list_height"
34 android:clipToPadding="false"
35 android:orientation="vertical">
37 <com.android.internal.widget.RemeasuringLinearLayout
38 android:id="@+id/notification_main_column"
39 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
41 android:layout_gravity="top"
42 android:paddingStart="@dimen/notification_content_margin_start"
43 android:paddingEnd="@dimen/notification_content_margin_end"
44 android:clipToPadding="false"
45 android:minHeight="@dimen/notification_min_content_height"
46 android:orientation="vertical"
47 android:layout_weight="1"
49 <include layout="@layout/notification_template_part_line1" />
50 <include layout="@layout/notification_template_progress"
51 android:layout_width="match_parent"
52 android:layout_height="@dimen/notification_progress_bar_height"
53 android:layout_marginTop="@dimen/notification_progress_margin_top"
54 android:layout_marginBottom="6dp"/>
55 <com.android.internal.widget.ImageFloatingTextView android:id="@+id/big_text"
56 style="@style/Widget.Material.Notification.Text"
57 android:layout_width="match_parent"
58 android:layout_height="wrap_content"
59 android:layout_marginTop="@dimen/notification_text_margin_top"
60 android:singleLine="false"
62 android:visibility="gone"
63 android:textAlignment="viewStart"
65 </com.android.internal.widget.RemeasuringLinearLayout>
67 <ViewStub android:layout="@layout/notification_material_reply_text"
68 android:id="@+id/notification_material_reply_container"
69 android:layout_width="match_parent"
70 android:layout_height="wrap_content" />
71 <include layout="@layout/notification_template_smart_reply_container"
72 android:layout_width="match_parent"
73 android:layout_height="wrap_content"
74 android:layout_marginStart="@dimen/notification_content_margin_start"
75 android:layout_marginEnd="@dimen/notification_content_margin_end"
76 android:layout_marginTop="@dimen/notification_content_margin" />
77 <include layout="@layout/notification_material_action_list" />
78 </com.android.internal.widget.RemeasuringLinearLayout>
79 <include layout="@layout/notification_template_right_icon" />