1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright 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--> 17 18<!-- extends FrameLayout --> 19<com.android.systemui.statusbar.notification.row.ExpandableNotificationRow 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 android:id="@+id/expandableNotificationRow" 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:focusable="true" 25 android:clickable="true" 26 > 27 28 <!-- Menu displayed behind notification added here programmatically --> 29 30 <com.android.systemui.statusbar.notification.row.NotificationBackgroundView 31 android:id="@+id/backgroundNormal" 32 android:layout_width="match_parent" 33 android:layout_height="match_parent" 34 android:duplicateParentState="true"/> 35 36 <com.android.systemui.statusbar.notification.row.NotificationBackgroundView 37 android:id="@+id/backgroundDimmed" 38 android:layout_width="match_parent" 39 android:layout_height="match_parent" 40 android:duplicateParentState="true"/> 41 42 <com.android.systemui.statusbar.notification.row.NotificationContentView 43 android:id="@+id/expanded" 44 android:layout_width="match_parent" 45 android:layout_height="wrap_content" 46 android:minHeight="@dimen/notification_content_min_height" 47 android:gravity="center_vertical" 48 /> 49 50 <com.android.systemui.statusbar.notification.row.NotificationContentView 51 android:id="@+id/expandedPublic" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" /> 54 55 <Button 56 android:id="@+id/veto" 57 android:layout_width="48dp" 58 android:layout_height="0dp" 59 android:gravity="end" 60 android:layout_marginEnd="-80dp" 61 android:background="@null" 62 android:paddingEnd="8dp" 63 android:paddingStart="8dp" 64 /> 65 66 <ViewStub 67 android:layout="@layout/notification_children_container" 68 android:id="@+id/child_container_stub" 69 android:inflatedId="@+id/notification_children_container" 70 android:layout_width="match_parent" 71 android:layout_height="wrap_content" 72 /> 73 74 <ViewStub 75 android:layout="@layout/notification_guts" 76 android:id="@+id/notification_guts_stub" 77 android:inflatedId="@+id/notification_guts" 78 android:layout_width="match_parent" 79 android:layout_height="wrap_content" 80 /> 81 82 <com.android.systemui.statusbar.notification.FakeShadowView 83 android:id="@+id/fake_shadow" 84 android:layout_width="match_parent" 85 android:layout_height="match_parent" /> 86 87</com.android.systemui.statusbar.notification.row.ExpandableNotificationRow> 88