1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* apps/common/assets/default/default/skins/StatusBar.xml 4 ** 5 ** Copyright 2010, The Android Open Source Project 6 ** 7 ** Licensed under the Apache License, Version 2.0 (the "License"); 8 ** you may not use this file except in compliance with the License. 9 ** You may obtain a copy of the License at 10 ** 11 ** http://www.apache.org/licenses/LICENSE-2.0 12 ** 13 ** Unless required by applicable law or agreed to in writing, software 14 ** distributed under the License is distributed on an "AS IS" BASIS, 15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 ** See the License for the specific language governing permissions and 17 ** limitations under the License. 18 */ 19 --> 20 21 <com.android.systemui.recent.RecentsPanelView 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" 24 android:id="@+id/recents_root" 25 android:layout_height="match_parent" 26 android:layout_width="wrap_content" 27 android:clipToPadding="false" 28 android:clipChildren="false" 29 systemui:recentItemLayout="@layout/system_bar_recent_item" 30 > 31 <FrameLayout 32 android:id="@+id/recents_bg_protect" 33 android:background="@drawable/recents_bg_protect_tile" 34 android:layout_width="wrap_content" 35 android:layout_height="match_parent" 36 android:layout_alignParentBottom="true" 37 android:layout_marginBottom="@*android:dimen/system_bar_height" 38 android:clipToPadding="false" 39 android:clipChildren="false"> 40 41 <com.android.systemui.recent.RecentsVerticalScrollView android:id="@+id/recents_container" 42 android:layout_width="wrap_content" 43 android:layout_height="wrap_content" 44 android:layout_marginEnd="@dimen/status_bar_recents_right_glow_margin" 45 android:divider="@null" 46 android:stackFromBottom="true" 47 android:fadingEdge="vertical" 48 android:scrollbars="none" 49 android:fadingEdgeLength="20dip" 50 android:layout_gravity="bottom|start" 51 android:clipToPadding="false" 52 android:clipChildren="false" 53 android:fitsSystemWindows="true"> 54 55 <LinearLayout android:id="@+id/recents_linear_layout" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:orientation="vertical" 59 android:clipToPadding="false" 60 android:clipChildren="false"> 61 </LinearLayout> 62 63 </com.android.systemui.recent.RecentsVerticalScrollView> 64 65 <include layout="@layout/system_bar_no_recent_apps" 66 android:id="@+id/recents_no_apps" 67 android:layout_width="match_parent" 68 android:layout_height="match_parent" 69 android:layout_marginStart="58dip" 70 android:layout_marginBottom="36dip" 71 android:visibility="invisible" /> 72 73 </FrameLayout> 74 75 <com.android.systemui.recent.StatusBarTouchProxy 76 android:id="@+id/status_bar_touch_proxy" 77 android:layout_width="match_parent" 78 android:layout_height="@*android:dimen/system_bar_height" 79 android:layout_alignParentBottom="true" 80 android:layout_alignParentStart="true" 81 /> 82 83 84 </com.android.systemui.recent.RecentsPanelView> 85