Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout / notification_template_material_big_media.xml
blob04ea12d4f9fe41f39768f666d7590d3e53cfd1e9
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   -->
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"
25     >
26     <include layout="@layout/notification_template_header"
27         android:layout_width="match_parent"
28         android:layout_height="53dp"
29         android:layout_gravity="start"/>
30     <LinearLayout
31         android:layout_width="match_parent"
32         android:layout_height="wrap_content"
33         android:orientation="vertical"
34         >
35         <LinearLayout
36             android:id="@+id/notification_main_column"
37             android:layout_width="match_parent"
38             android:layout_height="wrap_content"
39             android:layout_marginTop="@dimen/notification_content_margin_top"
40             android:layout_marginStart="@dimen/notification_content_margin_start"
41             android:layout_marginBottom="@dimen/notification_content_margin_bottom"
42             android:layout_marginEnd="@dimen/notification_content_margin_end"
43             android:minHeight="@dimen/notification_min_content_height"
44             android:orientation="vertical"
45             >
46             <include layout="@layout/notification_template_part_line1" />
47             <include layout="@layout/notification_template_text" />
48         </LinearLayout>
49         <LinearLayout
50             android:id="@+id/media_actions"
51             android:layout_width="wrap_content"
52             android:layout_height="wrap_content"
53             android:layout_marginTop="-21dp"
54             android:paddingStart="8dp"
55             android:paddingBottom="12dp"
56             android:gravity="top"
57             android:orientation="horizontal"
58             android:layoutDirection="ltr"
59             >
60             <!-- media buttons will be added here -->
61         </LinearLayout>
62     </LinearLayout>
64     <ImageView android:id="@+id/right_icon"
65         android:layout_width="@dimen/media_notification_expanded_image_max_size"
66         android:layout_height="@dimen/media_notification_expanded_image_max_size"
67         android:minWidth="40dp"
68         android:layout_marginEnd="16dp"
69         android:layout_marginBottom="20dp"
70         android:layout_gravity="bottom|end"
71         android:scaleType="centerCrop"
72         />
73 </com.android.internal.widget.MediaNotificationView>