notification_template_material_big_base.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:orientation="horizontal" 45 android:gravity="top" 46 > 47 <TextView android:id="@+id/big_text" 48 android:textAppearance="@style/TextAppearance.StatusBar.Material.EventContent" 49 android:layout_width="0dp" 50 android:layout_height="wrap_content" 51 android:layout_weight="1" 52 android:singleLine="false" 53 android:visibility="gone" 54 /> 55 <ImageView android:id="@+id/profile_badge_large_template" 56 android:layout_width="20dp" 57 android:layout_height="20dp" 58 android:layout_weight="0" 59 android:layout_marginStart="4dp" 60 android:scaleType="fitCenter" 61 android:visibility="gone" 62 /> 63 </LinearLayout> 64 <include 65 layout="@layout/notification_template_part_line3" 66 android:layout_width="match_parent" 67 android:layout_height="wrap_content" 68 android:layout_marginEnd="8dp" 69 /> 70 <ImageView 71 android:layout_width="match_parent" 72 android:layout_height="1dp" 73 android:layout_marginTop="10dp" 74 android:id="@+id/action_divider" 75 android:visibility="gone" 76 android:background="@drawable/notification_template_divider" /> 77 <include 78 layout="@layout/notification_material_action_list" 79 android:layout_marginStart="-8dp" 80 android:layout_width="match_parent" 81 android:layout_height="wrap_content" 82 /> 83 </LinearLayout> 84</FrameLayout> 85