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="match_parent" 27 android:foreground="@drawable/bg_protect" 28 systemui:recentItemLayout="@layout/status_bar_recent_item" 29 > 30 <FrameLayout 31 android:id="@+id/recents_bg_protect" 32 android:background="@drawable/status_bar_recents_background" 33 android:layout_width="match_parent" 34 android:layout_height="match_parent" 35 android:layout_alignParentBottom="true" 36 android:clipToPadding="false" 37 android:clipChildren="false"> 38 39 <com.android.systemui.recent.RecentsHorizontalScrollView android:id="@+id/recents_container" 40 android:layout_width="wrap_content" 41 android:layout_height="match_parent" 42 android:fadingEdge="horizontal" 43 android:scrollbars="none" 44 android:layout_gravity="right" 45 android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length"> 46 47 <LinearLayout android:id="@+id/recents_linear_layout" 48 android:layout_width="wrap_content" 49 android:layout_height="match_parent" 50 android:layoutDirection="ltr" 51 android:layout_gravity="left" 52 android:orientation="horizontal" 53 android:fitsSystemWindows="true"> 54 </LinearLayout> 55 56 </com.android.systemui.recent.RecentsHorizontalScrollView> 57 58 </FrameLayout> 59 60 <include layout="@layout/status_bar_no_recent_apps" 61 android:id="@+id/recents_no_apps" 62 android:layout_width="match_parent" 63 android:layout_height="match_parent" 64 android:visibility="invisible" /> 65 66 </com.android.systemui.recent.RecentsPanelView> 67