1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* apps/common/assets/default/default/skins/StatusBar.xml 4 ** 5 ** Copyright 2006, 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 <FrameLayout 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 android:layout_height="match_parent" 24 android:layout_width="wrap_content" 25 android:paddingLeft="@dimen/status_bar_recents_item_padding" 26 android:paddingRight="@dimen/status_bar_recents_item_padding"> 27 28 <RelativeLayout android:id="@+id/recent_item" 29 android:layout_gravity="center_vertical" 30 android:layout_height="wrap_content" 31 android:layout_width="wrap_content" 32 android:paddingTop="@*android:dimen/status_bar_height"> 33 34 <FrameLayout android:id="@+id/app_thumbnail" 35 android:layout_width="wrap_content" 36 android:layout_height="wrap_content" 37 android:layout_alignParentLeft="true" 38 android:layout_alignParentTop="true" 39 android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" 40 android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" 41 android:background="@drawable/recents_thumbnail_bg" 42 android:foreground="@drawable/recents_thumbnail_fg" 43 android:visibility="invisible"> 44 <ImageView android:id="@+id/app_thumbnail_image" 45 android:layout_width="@dimen/status_bar_recents_thumbnail_width" 46 android:layout_height="@dimen/status_bar_recents_thumbnail_height" 47 /> 48 </FrameLayout> 49 50 <ImageView android:id="@+id/app_icon" 51 android:layout_width="wrap_content" 52 android:layout_height="wrap_content" 53 android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" 54 android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" 55 android:layout_alignParentLeft="true" 56 android:layout_alignParentTop="true" 57 android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" 58 android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" 59 android:scaleType="centerInside" 60 android:adjustViewBounds="true" 61 android:visibility="invisible" 62 /> 63 64 <TextView android:id="@+id/app_label" 65 android:layout_width="@dimen/status_bar_recents_app_label_width" 66 android:layout_height="wrap_content" 67 android:textSize="@dimen/status_bar_recents_app_label_text_size" 68 android:fadingEdge="horizontal" 69 android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" 70 android:scrollHorizontally="true" 71 android:layout_alignLeft="@id/app_thumbnail" 72 android:layout_below="@id/app_thumbnail" 73 android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" 74 android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" 75 android:singleLine="true" 76 android:ellipsize="marquee" 77 android:textColor="@color/status_bar_recents_app_label_color" 78 /> 79 80 <TextView android:id="@+id/app_description" 81 android:layout_width="@dimen/status_bar_recents_app_label_width" 82 android:layout_height="wrap_content" 83 android:textSize="@dimen/status_bar_recents_app_description_text_size" 84 android:fadingEdge="horizontal" 85 android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" 86 android:scrollHorizontally="true" 87 android:layout_alignLeft="@id/app_thumbnail" 88 android:layout_below="@id/app_label" 89 android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" 90 android:singleLine="true" 91 android:ellipsize="marquee" 92 /> 93 94 </RelativeLayout> 95 </FrameLayout> 96