Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 1 | <!-- |
Joe Onorato | 4cddc98 | 2010-11-21 11:48:15 -0800 | [diff] [blame] | 2 | 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 Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 15 | --> |
| 16 | |
Daniel Sandler | 4a066c5 | 2012-04-20 14:49:13 -0400 | [diff] [blame^] | 17 | <!-- android:background="@drawable/system_bar_closed_default_background" --> |
Joe Onorato | ddf680b | 2010-09-26 13:59:40 -0700 | [diff] [blame] | 18 | <com.android.systemui.statusbar.tablet.NotificationPanel |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 20 | xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" |
Daniel Sandler | add2620 | 2011-01-20 02:53:43 -0500 | [diff] [blame] | 21 | android:id="@+id/panel_root" |
Joe Onorato | cf2b199 | 2010-11-16 21:36:42 -0800 | [diff] [blame] | 22 | android:layout_height="match_parent" |
Joe Onorato | 4cddc98 | 2010-11-21 11:48:15 -0800 | [diff] [blame] | 23 | android:layout_width="match_parent" |
Joe Onorato | 4cddc98 | 2010-11-21 11:48:15 -0800 | [diff] [blame] | 24 | android:gravity="right" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 25 | > |
Daniel Sandler | 0f0b11c | 2010-08-04 15:54:58 -0400 | [diff] [blame] | 26 | |
Daniel Sandler | 06a0d4b | 2011-08-05 00:19:21 -0400 | [diff] [blame] | 27 | <ImageView android:id="@+id/clear_all_button" |
| 28 | android:layout_width="wrap_content" |
Daniel Sandler | 4a066c5 | 2012-04-20 14:49:13 -0400 | [diff] [blame^] | 29 | android:layout_height="@*android:dimen/system_bar_height" |
Daniel Sandler | 06a0d4b | 2011-08-05 00:19:21 -0400 | [diff] [blame] | 30 | 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 Sandler | bcf6ef0b | 2011-09-30 11:43:36 -0400 | [diff] [blame] | 37 | android:contentDescription="@string/accessibility_clear_all" |
Daniel Sandler | 06a0d4b | 2011-08-05 00:19:21 -0400 | [diff] [blame] | 38 | /> |
| 39 | |
Daniel Sandler | 7d9ea8c | 2011-01-11 10:28:58 -0500 | [diff] [blame] | 40 | <RelativeLayout |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 41 | android:id="@+id/content_parent" |
Joe Onorato | 8a57671 | 2010-11-15 16:50:34 -0800 | [diff] [blame] | 42 | android:layout_height="wrap_content" |
Daniel Sandler | 2f447aa | 2011-01-14 16:39:19 -0500 | [diff] [blame] | 43 | android:layout_width="match_parent" |
Daniel Sandler | 7d9ea8c | 2011-01-11 10:28:58 -0500 | [diff] [blame] | 44 | android:layout_alignParentBottom="true" |
| 45 | android:layout_alignParentRight="true" |
Daniel Sandler | 1347c30 | 2011-08-01 16:47:53 -0400 | [diff] [blame] | 46 | android:layout_marginBottom="8dp" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 47 | > |
Daniel Sandler | 2f447aa | 2011-01-14 16:39:19 -0500 | [diff] [blame] | 48 | |
Daniel Sandler | 4a066c5 | 2012-04-20 14:49:13 -0400 | [diff] [blame^] | 49 | <include layout="@layout/system_bar_notification_panel_title" |
Daniel Sandler | 1347c30 | 2011-08-01 16:47:53 -0400 | [diff] [blame] | 50 | android:layout_width="478dp" |
| 51 | android:layout_height="224dp" |
Daniel Sandler | 7d9ea8c | 2011-01-11 10:28:58 -0500 | [diff] [blame] | 52 | android:layout_alignParentTop="true" |
| 53 | android:layout_alignParentRight="true" |
Daniel Sandler | 2f447aa | 2011-01-14 16:39:19 -0500 | [diff] [blame] | 54 | /> |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 55 | |
| 56 | <LinearLayout |
| 57 | android:id="@+id/content_frame" |
Daniel Sandler | 2f447aa | 2011-01-14 16:39:19 -0500 | [diff] [blame] | 58 | android:background="@drawable/notify_panel_notify_bg" |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 59 | android:layout_height="wrap_content" |
Daniel Sandler | 1347c30 | 2011-08-01 16:47:53 -0400 | [diff] [blame] | 60 | android:layout_width="478dp" |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 61 | android:orientation="vertical" |
Daniel Sandler | 7d9ea8c | 2011-01-11 10:28:58 -0500 | [diff] [blame] | 62 | android:layout_alignParentRight="true" |
Daniel Sandler | 2f447aa | 2011-01-14 16:39:19 -0500 | [diff] [blame] | 63 | android:layout_alignParentTop="true" |
Daniel Sandler | 1347c30 | 2011-08-01 16:47:53 -0400 | [diff] [blame] | 64 | android:layout_marginTop="178dp" |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 65 | > |
| 66 | <ScrollView |
Joe Onorato | 244e415 | 2010-12-16 13:22:34 -0800 | [diff] [blame] | 67 | android:id="@+id/notification_scroller" |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 68 | android:layout_height="wrap_content" |
| 69 | android:layout_width="match_parent" |
| 70 | android:layout_weight="1" |
| 71 | > |
Daniel Sandler | 08d08f6 | 2011-06-13 10:28:28 -0400 | [diff] [blame] | 72 | <com.android.systemui.statusbar.policy.NotificationRowLayout |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 73 | android:id="@+id/content" |
| 74 | android:layout_width="match_parent" |
| 75 | android:layout_height="wrap_content" |
| 76 | android:gravity="center_horizontal|bottom" |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 77 | android:clickable="true" |
| 78 | android:focusable="true" |
| 79 | android:descendantFocusability="afterDescendants" |
Daniel Sandler | 08d08f6 | 2011-06-13 10:28:28 -0400 | [diff] [blame] | 80 | systemui:rowHeight="@dimen/notification_height" |
Daniel Sandler | f844dc4 | 2011-01-24 23:44:47 -0500 | [diff] [blame] | 81 | /> |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 82 | </ScrollView> |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 83 | </LinearLayout> |
Daniel Sandler | 7d9ea8c | 2011-01-11 10:28:58 -0500 | [diff] [blame] | 84 | </RelativeLayout> |
| 85 | |
Joe Onorato | ddf680b | 2010-09-26 13:59:40 -0700 | [diff] [blame] | 86 | </com.android.systemui.statusbar.tablet.NotificationPanel> |