|
23 | 23 | xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" |
24 | 24 | android:id="@+id/notification_panel" |
25 | 25 | android:layout_width="match_parent" |
26 | | - android:layout_height="wrap_content" |
27 | | - android:orientation="vertical" |
| 26 | + android:layout_height="match_parent" |
28 | 27 | android:background="@drawable/notification_panel_bg" |
29 | 28 | android:paddingTop="@dimen/notification_panel_padding_top" |
30 | 29 | android:layout_marginLeft="@dimen/notification_panel_margin_left" |
31 | 30 | > |
32 | 31 |
|
33 | | - <include layout="@layout/status_bar_expanded_header" |
34 | | - android:layout_width="match_parent" |
35 | | - android:layout_height="wrap_content" |
36 | | - /> |
37 | | - |
38 | | - <ScrollView |
39 | | - android:id="@+id/scroll" |
| 32 | + <FrameLayout |
40 | 33 | android:layout_width="match_parent" |
41 | 34 | android:layout_height="match_parent" |
42 | | - android:fadingEdge="none" |
43 | | - android:overScrollMode="ifContentScrolls" |
44 | | - android:layout_marginTop="@dimen/notification_panel_header_height" |
45 | 35 | android:layout_marginBottom="@dimen/close_handle_underlap" |
46 | 36 | > |
47 | | - <com.android.systemui.statusbar.policy.NotificationRowLayout |
48 | | - android:id="@+id/latestItems" |
| 37 | + |
| 38 | + <include layout="@layout/status_bar_expanded_header" |
49 | 39 | android:layout_width="match_parent" |
50 | | - android:layout_height="wrap_content" |
51 | | - systemui:rowHeight="@dimen/notification_row_min_height" |
| 40 | + android:layout_height="48dp" |
52 | 41 | /> |
53 | | - </ScrollView> |
| 42 | + |
| 43 | + <ScrollView |
| 44 | + android:id="@+id/scroll" |
| 45 | + android:layout_width="match_parent" |
| 46 | + android:layout_height="match_parent" |
| 47 | + android:fadingEdge="none" |
| 48 | + android:overScrollMode="ifContentScrolls" |
| 49 | + android:layout_marginTop="@dimen/notification_panel_header_height" |
| 50 | + > |
| 51 | + <com.android.systemui.statusbar.policy.NotificationRowLayout |
| 52 | + android:id="@+id/latestItems" |
| 53 | + android:layout_width="match_parent" |
| 54 | + android:layout_height="wrap_content" |
| 55 | + systemui:rowHeight="@dimen/notification_row_min_height" |
| 56 | + /> |
| 57 | + </ScrollView> |
| 58 | + </FrameLayout> |
54 | 59 |
|
55 | 60 | <com.android.systemui.statusbar.phone.CloseDragHandle android:id="@+id/close" |
56 | 61 | android:layout_width="match_parent" |
|
67 | 72 | /> |
68 | 73 |
|
69 | 74 | </com.android.systemui.statusbar.phone.CloseDragHandle> |
70 | | - |
71 | 75 | </FrameLayout><!-- end of sliding panel --> |
0 commit comments