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 /> 62 63 <TextView android:id="@+id/app_label" 64 android:layout_width="@dimen/status_bar_recents_app_label_width" 65 android:layout_height="wrap_content" 66 android:textSize="@dimen/status_bar_recents_app_label_text_size" 67 android:fadingEdge="horizontal" 68 android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" 69 android:scrollHorizontally="true" 70 android:layout_alignLeft="@id/app_thumbnail" 71 android:layout_below="@id/app_thumbnail" 72 android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" 73 android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" 74 android:singleLine="true" 75 android:ellipsize="marquee" 76 android:textColor="@color/status_bar_recents_app_label_color" 77 /> 78 79 <TextView android:id="@+id/app_description" 80 android:layout_width="@dimen/status_bar_recents_app_label_width" 81 android:layout_height="wrap_content" 82 android:textSize="@dimen/status_bar_recents_app_description_text_size" 83 android:fadingEdge="horizontal" 84 android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" 85 android:scrollHorizontally="true" 86 android:layout_alignLeft="@id/app_thumbnail" 87 android:layout_below="@id/app_label" 88 android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" 89 android:singleLine="true" 90 android:ellipsize="marquee" 91 /> 92 93 </RelativeLayout> 94 </FrameLayout> 95