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="bigText" 23 > 24 <include layout="@layout/notification_template_icon_group" 25 android:layout_width="@dimen/notification_large_icon_width" 26 android:layout_height="@dimen/notification_large_icon_height" 27 /> 28 <LinearLayout 29 android:id="@+id/notification_main_column" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:layout_gravity="top" 33 android:layout_marginStart="@dimen/notification_large_icon_width" 34 android:minHeight="@dimen/notification_large_icon_height" 35 android:orientation="vertical" 36 > 37 <include layout="@layout/notification_template_part_line1" /> 38 <include layout="@layout/notification_template_part_line2" /> 39 <LinearLayout 40 android:layout_width="match_parent" 41 android:layout_height="0dp" 42 android:layout_marginEnd="8dp" 43 android:layout_marginBottom="10dp" 44 android:orientation="horizontal" 45 android:gravity="top" 46 android:layout_weight="1" 47 > 48 <TextView android:id="@+id/big_text" 49 android:textAppearance="@style/TextAppearance.Material.Notification" 50 android:layout_width="0dp" 51 android:layout_height="wrap_content" 52 android:layout_weight="1" 53 android:singleLine="false" 54 android:visibility="gone" 55 /> 56 <ImageView android:id="@+id/profile_badge_large_template" 57 android:layout_width="@dimen/notification_badge_size" 58 android:layout_height="@dimen/notification_badge_size" 59 android:layout_weight="0" 60 android:layout_marginStart="4dp" 61 android:scaleType="fitCenter" 62 android:visibility="gone" 63 android:contentDescription="@string/notification_work_profile_content_description" 64 /> 65 </LinearLayout> 66 <ImageView 67 android:layout_width="match_parent" 68 android:layout_height="1dp" 69 android:id="@+id/action_divider" 70 android:visibility="gone" 71 android:background="@drawable/notification_template_divider" /> 72 <include 73 layout="@layout/notification_material_action_list" 74 android:layout_marginStart="-8dp" 75 android:layout_width="match_parent" 76 android:layout_height="wrap_content" 77 /> 78 <ImageView 79 android:layout_width="match_parent" 80 android:layout_height="1dip" 81 android:id="@+id/overflow_divider" 82 android:visibility="visible" 83 android:background="@drawable/notification_template_divider" /> 84 <include 85 layout="@layout/notification_template_part_line3" 86 android:layout_width="match_parent" 87 android:layout_height="wrap_content" 88 android:layout_marginEnd="8dp" 89 android:layout_marginTop="8dp" 90 android:layout_marginBottom="10dp" /> 91 </LinearLayout> 92</FrameLayout> 93