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="fill_parent"
35 android:layout_height="53dp" />
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"
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"
55 <include layout="@layout/notification_template_part_line1"/>
56 <include layout="@layout/notification_template_text"/>
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"
68 <!-- media buttons will be added here -->