Update to platforms;android-28.
[android_tools.git] / sdk / platforms / android-28 / data / res / layout / notification_template_material_big_text.xml
blob26eb4e7b2c6c0ee75a9b97fa62f0f54fdc7d805e
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   -->
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"
23     android:tag="bigText"
24     >
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"
48             >
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"
61                 android:gravity="top"
62                 android:visibility="gone"
63                 android:textAlignment="viewStart"
64                 />
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" />
80 </FrameLayout>