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