notification_template_big_picture.xml revision 619738c9e7b321d3a7f297b95955c681f5de56ba
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:internal="http://schemas.android.com/apk/prv/res/android"
19    android:background="@android:drawable/notification_bg"
20    android:id="@+id/status_bar_latest_event_content"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent"
23    internal:layout_minHeight="65dp"
24    internal:layout_maxHeight="unbounded"
25    >
26    <ImageView
27        android:id="@+id/big_picture"
28        android:layout_width="match_parent"
29        android:layout_height="192dp"
30        android:layout_marginTop="64dp"
31        android:layout_gravity="bottom"
32        android:scaleType="centerCrop"
33        />
34    <ImageView
35        android:layout_width="match_parent"
36        android:layout_height="6dp"
37        android:layout_marginTop="64dp"
38        android:scaleType="fitXY"
39        android:src="@drawable/title_bar_shadow"
40        />
41    <include layout="@layout/notification_template_base"
42        android:layout_width="match_parent"
43        android:layout_height="wrap_content"
44        />
45  <FrameLayout
46        android:layout_width="match_parent"
47        android:layout_height="wrap_content"
48        android:layout_marginTop="208dp"
49        android:paddingLeft="64dp"
50        android:layout_gravity="bottom"
51        android:background="#CC111111"
52        >
53        <include
54            layout="@layout/notification_action_list"
55            android:id="@+id/actions"
56            android:layout_gravity="bottom"
57            android:layout_width="match_parent"
58            android:layout_height="wrap_content"
59            />
60    </FrameLayout>
61</FrameLayout>
62