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 android:id="@+id/recents_root" 24 android:layout_height="match_parent" 25 android:layout_width="wrap_content" 26 android:clipToPadding="false" 27 android:clipChildren="false"> 28 29 <FrameLayout 30 android:id="@+id/recents_bg_protect" 31 android:background="@drawable/recents_bg_protect_tile" 32 android:layout_width="wrap_content" 33 android:layout_height="match_parent" 34 android:layout_alignParentBottom="true" 35 android:paddingBottom="@*android:dimen/status_bar_height" 36 android:clipToPadding="false" 37 android:clipChildren="false"> 38 39 <com.android.systemui.recent.RecentsVerticalScrollView android:id="@+id/recents_container" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content" 42 android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" 43 android:divider="@null" 44 android:stackFromBottom="true" 45 android:fadingEdge="vertical" 46 android:scrollbars="none" 47 android:fadingEdgeLength="20dip" 48 android:layout_gravity="bottom|left" 49 android:clipToPadding="false" 50 android:clipChildren="false"> 51 52 <LinearLayout android:id="@+id/recents_linear_layout" 53 android:layout_width="wrap_content" 54 android:layout_height="wrap_content" 55 android:orientation="vertical" 56 android:clipToPadding="false" 57 android:clipChildren="false"> 58 </LinearLayout> 59 60 </com.android.systemui.recent.RecentsVerticalScrollView> 61 62 <include layout="@layout/status_bar_no_recent_apps" 63 android:id="@+id/recents_no_apps" 64 android:layout_width="match_parent" 65 android:layout_height="match_parent" 66 android:layout_marginLeft="58dip" 67 android:layout_marginBottom="36dip" 68 android:visibility="invisible" /> 69 70 </FrameLayout> 71 72 <View android:id="@+id/recents_dismiss_button" 73 android:layout_width="80px" 74 android:layout_height="@*android:dimen/status_bar_height" 75 android:layout_alignParentBottom="true" 76 android:layout_alignParentLeft="true" 77 android:background="@drawable/ic_sysbar_back_ime" 78 android:contentDescription="@string/status_bar_accessibility_dismiss_recents" 79 /> 80 81 82 </com.android.systemui.recent.RecentsPanelView> 83