blob: 42af14790675c371cd4f76933a410a6a9745f0a2 [file] [log] [blame]
Daniel Sandler9120d552010-07-23 09:11:14 -04001<!--
Joe Onorato4cddc982010-11-21 11:48:15 -08002 Copyright (C) 2006 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.
Daniel Sandler9120d552010-07-23 09:11:14 -040015-->
16
Daniel Sandler4a066c52012-04-20 14:49:13 -040017<!-- android:background="@drawable/system_bar_closed_default_background" -->
Joe Onoratoddf680b2010-09-26 13:59:40 -070018<com.android.systemui.statusbar.tablet.NotificationPanel
Daniel Sandler9120d552010-07-23 09:11:14 -040019 xmlns:android="http://schemas.android.com/apk/res/android"
Joe Onorato7c270fa2010-12-08 17:31:42 -080020 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
Daniel Sandleradd26202011-01-20 02:53:43 -050021 android:id="@+id/panel_root"
Joe Onoratocf2b1992010-11-16 21:36:42 -080022 android:layout_height="match_parent"
Joe Onorato4cddc982010-11-21 11:48:15 -080023 android:layout_width="match_parent"
Joe Onorato4cddc982010-11-21 11:48:15 -080024 android:gravity="right"
Daniel Sandler9120d552010-07-23 09:11:14 -040025 >
Daniel Sandler0f0b11c2010-08-04 15:54:58 -040026
Daniel Sandler06a0d4b2011-08-05 00:19:21 -040027 <ImageView android:id="@+id/clear_all_button"
28 android:layout_width="wrap_content"
Daniel Sandler4a066c52012-04-20 14:49:13 -040029 android:layout_height="@*android:dimen/system_bar_height"
Daniel Sandler06a0d4b2011-08-05 00:19:21 -040030 android:layout_alignParentRight="true"
31 android:layout_alignParentBottom="true"
32 android:layout_marginRight="20dp"
33 android:paddingLeft="15dp"
34 android:paddingRight="15dp"
35 android:src="@drawable/ic_notify_clear"
36 android:visibility="invisible"
Daniel Sandlerbcf6ef0b2011-09-30 11:43:36 -040037 android:contentDescription="@string/accessibility_clear_all"
Daniel Sandler06a0d4b2011-08-05 00:19:21 -040038 />
39
Daniel Sandler7d9ea8c2011-01-11 10:28:58 -050040 <RelativeLayout
Joe Onorato7c270fa2010-12-08 17:31:42 -080041 android:id="@+id/content_parent"
Joe Onorato8a576712010-11-15 16:50:34 -080042 android:layout_height="wrap_content"
Daniel Sandler2f447aa2011-01-14 16:39:19 -050043 android:layout_width="match_parent"
Daniel Sandler7d9ea8c2011-01-11 10:28:58 -050044 android:layout_alignParentBottom="true"
45 android:layout_alignParentRight="true"
Daniel Sandler1347c302011-08-01 16:47:53 -040046 android:layout_marginBottom="8dp"
Daniel Sandler9120d552010-07-23 09:11:14 -040047 >
Daniel Sandler2f447aa2011-01-14 16:39:19 -050048
Daniel Sandler4a066c52012-04-20 14:49:13 -040049 <include layout="@layout/system_bar_notification_panel_title"
Daniel Sandler1347c302011-08-01 16:47:53 -040050 android:layout_width="478dp"
51 android:layout_height="224dp"
Daniel Sandler7d9ea8c2011-01-11 10:28:58 -050052 android:layout_alignParentTop="true"
53 android:layout_alignParentRight="true"
Daniel Sandler2f447aa2011-01-14 16:39:19 -050054 />
Joe Onorato7c270fa2010-12-08 17:31:42 -080055
56 <LinearLayout
57 android:id="@+id/content_frame"
Daniel Sandler2f447aa2011-01-14 16:39:19 -050058 android:background="@drawable/notify_panel_notify_bg"
Joe Onorato7c270fa2010-12-08 17:31:42 -080059 android:layout_height="wrap_content"
Daniel Sandler1347c302011-08-01 16:47:53 -040060 android:layout_width="478dp"
Joe Onorato7c270fa2010-12-08 17:31:42 -080061 android:orientation="vertical"
Daniel Sandler7d9ea8c2011-01-11 10:28:58 -050062 android:layout_alignParentRight="true"
Daniel Sandler2f447aa2011-01-14 16:39:19 -050063 android:layout_alignParentTop="true"
Daniel Sandler1347c302011-08-01 16:47:53 -040064 android:layout_marginTop="178dp"
Joe Onorato7c270fa2010-12-08 17:31:42 -080065 >
66 <ScrollView
Joe Onorato244e4152010-12-16 13:22:34 -080067 android:id="@+id/notification_scroller"
Joe Onorato7c270fa2010-12-08 17:31:42 -080068 android:layout_height="wrap_content"
69 android:layout_width="match_parent"
70 android:layout_weight="1"
71 >
Daniel Sandler08d08f62011-06-13 10:28:28 -040072 <com.android.systemui.statusbar.policy.NotificationRowLayout
Joe Onorato7c270fa2010-12-08 17:31:42 -080073 android:id="@+id/content"
74 android:layout_width="match_parent"
75 android:layout_height="wrap_content"
76 android:gravity="center_horizontal|bottom"
Joe Onorato7c270fa2010-12-08 17:31:42 -080077 android:clickable="true"
78 android:focusable="true"
79 android:descendantFocusability="afterDescendants"
Daniel Sandler08d08f62011-06-13 10:28:28 -040080 systemui:rowHeight="@dimen/notification_height"
Daniel Sandlerf844dc42011-01-24 23:44:47 -050081 />
Joe Onorato7c270fa2010-12-08 17:31:42 -080082 </ScrollView>
Joe Onorato7c270fa2010-12-08 17:31:42 -080083 </LinearLayout>
Daniel Sandler7d9ea8c2011-01-11 10:28:58 -050084 </RelativeLayout>
85
Joe Onoratoddf680b2010-09-26 13:59:40 -070086</com.android.systemui.statusbar.tablet.NotificationPanel>