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" |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 21 | android:id="@+id/content_parent" |
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" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 24 | android:gravity="end" |
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 | |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 27 | <!-- lift the panel up off the status bar while leaving a touchable are --> |
| 28 | <Space |
| 29 | android:id="@+id/system_bar_notification_panel_bottom_space" |
| 30 | android:layout_height="56dp" |
| 31 | android:layout_width="478dp" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 32 | android:layout_alignParentEnd="true" |
Daniel Sandler | 06a0d4b | 2011-08-05 00:19:21 -0400 | [diff] [blame] | 33 | android:layout_alignParentBottom="true" |
Daniel Sandler | 06a0d4b | 2011-08-05 00:19:21 -0400 | [diff] [blame] | 34 | /> |
| 35 | |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 36 | <LinearLayout |
| 37 | android:id="@+id/content_frame" |
| 38 | android:background="@drawable/notification_panel_bg" |
Joe Onorato | 8a57671 | 2010-11-15 16:50:34 -0800 | [diff] [blame] | 39 | android:layout_height="wrap_content" |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 40 | android:layout_width="478dp" |
| 41 | android:orientation="vertical" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 42 | android:layout_alignParentEnd="true" |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 43 | android:layout_above="@id/system_bar_notification_panel_bottom_space" |
| 44 | android:paddingBottom="8dp" |
Daniel Sandler | 9120d55 | 2010-07-23 09:11:14 -0400 | [diff] [blame] | 45 | > |
Daniel Sandler | 2f447aa | 2011-01-14 16:39:19 -0500 | [diff] [blame] | 46 | |
Daniel Sandler | 4a066c5 | 2012-04-20 14:49:13 -0400 | [diff] [blame] | 47 | <include layout="@layout/system_bar_notification_panel_title" |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 48 | android:layout_width="match_parent" |
| 49 | android:layout_height="130dp" |
| 50 | android:layout_above="@id/content_frame" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 51 | android:layout_alignParentEnd="true" |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 52 | android:layout_weight="0" |
Daniel Sandler | 2f447aa | 2011-01-14 16:39:19 -0500 | [diff] [blame] | 53 | /> |
Joe Onorato | 7c270fa | 2010-12-08 17:31:42 -0800 | [diff] [blame] | 54 | |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 55 | <ScrollView |
Daniel Sandler | 7d9ea8c | 2011-01-11 10:28:58 -0500 | [diff] [blame] | 56 | |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 57 | android:id="@+id/notification_scroller" |
| 58 | android:layout_height="wrap_content" |
| 59 | android:layout_width="match_parent" |
Chris Wren | 3c148f1 | 2012-06-19 13:10:25 -0400 | [diff] [blame] | 60 | android:overScrollMode="ifContentScrolls" |
Chris Wren | 1e8f65d | 2012-06-06 18:08:56 -0400 | [diff] [blame] | 61 | android:layout_weight="1" |
| 62 | > |
| 63 | <com.android.systemui.statusbar.policy.NotificationRowLayout |
| 64 | android:id="@+id/content" |
| 65 | android:layout_width="match_parent" |
| 66 | android:layout_height="wrap_content" |
| 67 | android:gravity="center_horizontal|bottom" |
| 68 | android:clickable="true" |
| 69 | android:focusable="true" |
| 70 | android:descendantFocusability="afterDescendants" |
| 71 | systemui:rowHeight="@dimen/notification_row_min_height" |
| 72 | /> |
| 73 | </ScrollView> |
| 74 | </LinearLayout> |
Joe Onorato | ddf680b | 2010-09-26 13:59:40 -0700 | [diff] [blame] | 75 | </com.android.systemui.statusbar.tablet.NotificationPanel> |