1 <?xml version="1.0" encoding="utf-8"?>
3 ~ Copyright (C) 2014 The Android Open Source Project
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
9 ~ http://www.apache.org/licenses/LICENSE-2.0
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
18 <!-- Layout for the expanded media notification -->
19 <com.android.internal.widget.MediaNotificationView xmlns:android="http://schemas.android.com/apk/res/android"
20 android:id="@+id/status_bar_latest_event_content"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
23 android:background="#00000000"
24 android:tag="bigMediaNarrow"
26 <!-- The size will actually be determined at runtime -->
27 <ImageView android:id="@+id/right_icon"
28 android:layout_width="0dp"
29 android:layout_height="0dp"
30 android:layout_gravity="top|end"
31 android:scaleType="centerCrop"
33 <include layout="@layout/notification_template_header"
34 android:layout_width="match_parent"
35 android:layout_height="53dp"
36 android:layout_gravity="start"/>
38 android:layout_width="match_parent"
39 android:layout_height="wrap_content"
40 android:orientation="vertical"
43 android:id="@+id/notification_main_column"
44 android:layout_width="match_parent"
45 android:layout_height="wrap_content"
46 android:layout_marginTop="@dimen/notification_content_margin_top"
47 android:layout_marginStart="@dimen/notification_content_margin_start"
48 android:layout_marginBottom="@dimen/notification_content_margin_bottom"
49 android:layout_marginEnd="@dimen/notification_content_margin_end"
50 android:minHeight="@dimen/notification_min_content_height"
51 android:orientation="vertical"
53 <include layout="@layout/notification_template_part_line1" />
54 <include layout="@layout/notification_template_text" />
57 android:id="@+id/media_actions"
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"
60 android:layout_marginTop="-21dp"
61 android:paddingStart="8dp"
62 android:paddingBottom="12dp"
64 android:orientation="horizontal"
65 android:layoutDirection="ltr"
67 <!-- media buttons will be added here -->
70 </com.android.internal.widget.MediaNotificationView>