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