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
19 android:id="@+id/status_bar_latest_event_content"
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
23 android:background="#00000000"
26 <ImageView android:id="@+id/right_icon"
27 android:layout_width="wrap_content"
28 android:layout_height="match_parent"
29 android:adjustViewBounds="true"
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="@dimen/media_notification_header_height" />
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
39 android:orientation="vertical"
40 android:id="@+id/notification_media_content"
43 android:id="@+id/notification_main_column"
44 android:layout_width="match_parent"
45 android:layout_height="wrap_content"
46 android:orientation="horizontal"
47 android:layout_marginStart="@dimen/notification_content_margin_start"
48 android:layout_marginTop="@dimen/notification_content_margin_top"
49 android:layout_alignParentTop="true"
53 android:id="@+id/notification_content_container"
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:layout_gravity="fill_vertical"
57 android:layout_weight="1"
58 android:minHeight="@dimen/notification_min_content_height"
59 android:paddingBottom="@dimen/notification_content_margin"
60 android:orientation="vertical"
62 <include layout="@layout/notification_template_part_line1"/>
63 <include layout="@layout/notification_template_text"/>
66 android:id="@+id/media_actions"
67 android:layout_width="wrap_content"
68 android:layout_height="wrap_content"
69 android:layout_gravity="top|end"
70 android:layout_marginStart="10dp"
71 android:layoutDirection="ltr"
72 android:orientation="horizontal"
75 layout="@layout/notification_material_media_action"
76 android:id="@+id/action0"
79 layout="@layout/notification_material_media_action"
80 android:id="@+id/action1"
83 layout="@layout/notification_material_media_action"
84 android:id="@+id/action2"
88 <ViewStub android:id="@+id/notification_media_seekbar_container"
89 android:layout_width="match_parent"
90 android:layout_height="wrap_content"
91 android:layout_alignParentBottom="true"