Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / layout / notification_template_material_big_picture.xml
blob83c0fec004b66d39c031883452aa271767d9cd59
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 xmlns:android="http://schemas.android.com/apk/res/android"
19     android:id="@+id/status_bar_latest_event_content"
20     android:layout_width="match_parent"
21     android:layout_height="match_parent"
22     android:tag="bigPicture"
23     >
24     <include layout="@layout/notification_template_header" />
25     <include layout="@layout/notification_template_right_icon" />
26     <LinearLayout
27             android:layout_width="match_parent"
28             android:layout_height="match_parent"
29             android:layout_gravity="top"
30             android:layout_marginTop="@dimen/notification_content_margin_top"
31             android:clipToPadding="false"
32             android:orientation="vertical"
33             android:id="@+id/notification_action_list_margin_target"
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_marginStart="@dimen/notification_content_margin_start"
40             android:layout_marginEnd="@dimen/notification_content_margin_end"
41             android:orientation="vertical">
42             <include layout="@layout/notification_template_part_line1"/>
43             <include layout="@layout/notification_template_progress"/>
44             <include layout="@layout/notification_template_text"/>
45         </LinearLayout>
46         <ImageView
47                 android:id="@+id/big_picture"
48                 android:layout_width="match_parent"
49                 android:layout_height="0dp"
50                 android:adjustViewBounds="true"
51                 android:layout_weight="1"
52                 android:layout_marginTop="13dp"
53                 android:layout_marginBottom="16dp"
54                 android:layout_marginStart="@dimen/notification_content_margin_start"
55                 android:layout_marginEnd="@dimen/notification_content_margin_end"
56                 android:scaleType="centerCrop"
57                 />
59         <ViewStub android:layout="@layout/notification_material_reply_text"
60                 android:id="@+id/notification_material_reply_container"
61                 android:layout_width="match_parent"
62                 android:layout_height="wrap_content"
63                 />
64     </LinearLayout>
65     <include layout="@layout/notification_material_action_list" />
66 </FrameLayout>