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 systemui:recentItemLayout="@layout/status_bar_recent_item" 28 > 29 <View 30 android:id="@+id/recents_transition_background" 31 android:layout_height="match_parent" 32 android:layout_width="match_parent" 33 android:visibility="invisible" /> 34 <FrameLayout 35 android:id="@+id/recents_bg_protect" 36 android:background="@drawable/status_bar_recents_background" 37 android:layout_width="match_parent" 38 android:layout_height="match_parent" 39 android:layout_alignParentBottom="true" 40 android:clipToPadding="false" 41 android:clipChildren="false"> 42 43 <ImageView 44 android:id="@+id/recents_transition_placeholder_icon" 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:visibility="invisible" /> 48 49 <com.android.systemui.recent.RecentsHorizontalScrollView android:id="@+id/recents_container" 50 android:layout_width="wrap_content" 51 android:layout_height="match_parent" 52 android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" 53 android:divider="@null" 54 android:stackFromBottom="true" 55 android:fadingEdge="horizontal" 56 android:scrollbars="none" 57 android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length" 58 android:layout_gravity="bottom|right" 59 android:orientation="horizontal" 60 android:clipToPadding="false" 61 android:clipChildren="false"> 62 63 <LinearLayout android:id="@+id/recents_linear_layout" 64 android:layout_width="wrap_content" 65 android:layout_height="match_parent" 66 android:orientation="horizontal" 67 android:clipToPadding="false" 68 android:clipChildren="false"> 69 </LinearLayout> 70 71 </com.android.systemui.recent.RecentsHorizontalScrollView> 72 73 </FrameLayout> 74 75 <include layout="@layout/status_bar_no_recent_apps" 76 android:id="@+id/recents_no_apps" 77 android:layout_width="match_parent" 78 android:layout_height="match_parent" 79 android:visibility="invisible" /> 80 81 </com.android.systemui.recent.RecentsPanelView> 82