notification_template_material_big_media.xml revision 17ee3ec0b85f1ca29920bc3bf26e613b82a0ecf8
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<RelativeLayout 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="128dp"
22    android:background="#00000000"
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:layout_width="match_parent"
30        android:layout_height="wrap_content"
31        android:layout_marginStart="@dimen/notification_large_icon_width"
32        android:minHeight="@dimen/notification_large_icon_height"
33        android:orientation="vertical"
34        >
35        <include layout="@layout/notification_template_part_line1" />
36        <include layout="@layout/notification_template_part_line2" />
37        <include layout="@layout/notification_template_part_line3" />
38    </LinearLayout>
39    <LinearLayout
40        android:id="@+id/media_actions"
41        android:layout_width="match_parent"
42        android:layout_height="48dp"
43        android:layout_alignParentBottom="true"
44        android:layout_marginStart="12dp"
45        android:layout_marginEnd="12dp"
46        android:orientation="horizontal"
47        android:layoutDirection="ltr"
48        >
49        <!-- media buttons will be added here -->
50    </LinearLayout>
51    <ImageView
52        android:layout_width="match_parent"
53        android:layout_height="1dp"
54        android:layout_above="@id/media_actions"
55        android:id="@+id/action_divider"
56        android:background="@drawable/notification_template_divider_media" />
57</RelativeLayout>
58