Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / layout / notification_template_material_media.xml
blob4be53e04ef67953afe08394f6bf0ffe1612096b2
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 <FrameLayout
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"
24     android:tag="media"
25     >
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"
32     />
33     <include layout="@layout/notification_template_header"
34         android:layout_width="fill_parent"
35         android:layout_height="53dp" />
36     <LinearLayout
37         android:id="@+id/notification_main_column"
38         android:layout_width="match_parent"
39         android:layout_height="wrap_content"
40         android:orientation="horizontal"
41         android:layout_marginStart="@dimen/notification_content_margin_start"
42         android:layout_marginTop="@dimen/notification_content_margin_top"
43         android:tag="media"
44         >
45         <LinearLayout
46             android:id="@+id/notification_content_container"
47             android:layout_width="match_parent"
48             android:layout_height="wrap_content"
49             android:layout_gravity="fill_vertical"
50             android:layout_weight="1"
51             android:minHeight="@dimen/notification_min_content_height"
52             android:paddingBottom="@dimen/notification_content_margin_bottom"
53             android:orientation="vertical"
54             >
55             <include layout="@layout/notification_template_part_line1"/>
56             <include layout="@layout/notification_template_text"/>
57         </LinearLayout>
58         <LinearLayout
59             android:id="@+id/media_actions"
60             android:layout_width="wrap_content"
61             android:layout_height="wrap_content"
62             android:layout_gravity="bottom|end"
63             android:layout_marginStart="10dp"
64             android:layout_marginBottom="12dp"
65             android:layoutDirection="ltr"
66             android:orientation="horizontal"
67             >
68             <!-- media buttons will be added here -->
69         </LinearLayout>
70     </LinearLayout>
71 </FrameLayout>