notification_template_material_big_text.xml revision 98193ea54f492aefb0c5dd8ff7a1f61e605535e6
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:layout_width="match_parent" 32 android:layout_height="wrap_content" 33 android:layout_gravity="top" 34 android:layout_marginStart="@dimen/notification_large_icon_width" 35 android:minHeight="@dimen/notification_large_icon_height" 36 android:orientation="vertical" 37 > 38 <include layout="@layout/notification_template_part_line1" /> 39 <include layout="@layout/notification_template_part_line2" /> 40 <LinearLayout 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 android:layout_marginEnd="8dp" 44 android:layout_marginBottom="10dp" 45 android:orientation="horizontal" 46 android:gravity="top" 47 > 48 <TextView android:id="@+id/big_text" 49 android:textAppearance="@style/TextAppearance.StatusBar.Material.EventContent" 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="20dp" 58 android:layout_height="20dp" 59 android:layout_weight="0" 60 android:layout_marginStart="4dp" 61 android:scaleType="fitCenter" 62 android:visibility="gone" 63 /> 64 </LinearLayout> 65 <ImageView 66 android:layout_width="match_parent" 67 android:layout_height="1dp" 68 android:id="@+id/action_divider" 69 android:visibility="gone" 70 android:background="@drawable/notification_template_divider" /> 71 <include 72 layout="@layout/notification_material_action_list" 73 android:layout_marginStart="-8dp" 74 android:layout_width="match_parent" 75 android:layout_height="wrap_content" 76 /> 77 <ImageView 78 android:layout_width="match_parent" 79 android:layout_height="1dip" 80 android:id="@+id/overflow_divider" 81 android:visibility="visible" 82 android:background="@drawable/notification_template_divider" /> 83 <include 84 layout="@layout/notification_template_part_line3" 85 android:layout_width="match_parent" 86 android:layout_height="wrap_content" 87 android:layout_marginEnd="8dp" 88 android:layout_marginTop="8dp" 89 android:layout_marginBottom="10dp" /> 90 </LinearLayout> 91</FrameLayout> 92