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 <RelativeLayout android:id="@+id/recent_item" 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 android:layout_height="wrap_content" 24 android:layout_width="wrap_content"> 25 26 <TextView android:id="@+id/app_label" 27 android:layout_width="@dimen/status_bar_recents_app_label_width" 28 android:layout_height="wrap_content" 29 android:textSize="@dimen/status_bar_recents_app_label_text_size" 30 android:fadingEdge="horizontal" 31 android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" 32 android:scrollHorizontally="true" 33 android:layout_alignParentLeft="true" 34 android:layout_alignParentTop="true" 35 android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" 36 android:layout_marginTop="32dip" 37 android:singleLine="true" 38 android:ellipsize="marquee" 39 android:textColor="@color/status_bar_recents_app_label_color" 40 /> 41 42 <FrameLayout android:id="@+id/app_thumbnail" 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" 45 android:layout_toRightOf="@id/app_label" 46 android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" 47 android:scaleType="center" 48 android:background="@drawable/recents_thumbnail_bg" 49 android:foreground="@drawable/recents_thumbnail_fg" 50 android:visibility="invisible"> 51 <ImageView android:id="@+id/app_thumbnail_image" 52 android:layout_width="@dimen/status_bar_recents_thumbnail_width" 53 android:layout_height="@dimen/status_bar_recents_thumbnail_height" 54 /> 55 </FrameLayout> 56 57 58 <ImageView android:id="@+id/app_icon" 59 android:layout_width="wrap_content" 60 android:layout_height="wrap_content" 61 android:layout_toRightOf="@id/app_label" 62 android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" 63 android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" 64 android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" 65 android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" 66 android:scaleType="centerInside" 67 android:adjustViewBounds="true" 68 android:visibility="invisible" 69 /> 70 71 72 <View android:id="@+id/recents_callout_line" 73 android:layout_width="@dimen/status_bar_recents_app_label_width" 74 android:layout_height="1dip" 75 android:layout_below="@id/app_label" 76 android:layout_marginTop="3dip" 77 android:layout_alignParentLeft="true" 78 android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" 79 android:layout_toLeftOf="@id/app_thumbnail" 80 android:layout_marginRight="3dip" 81 android:background="@drawable/recents_callout_line" 82 /> 83 84 <TextView android:id="@+id/app_description" 85 android:layout_width="@dimen/status_bar_recents_app_label_width" 86 android:layout_height="wrap_content" 87 android:textSize="@dimen/status_bar_recents_app_description_text_size" 88 android:fadingEdge="horizontal" 89 android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" 90 android:scrollHorizontally="true" 91 android:layout_alignParentLeft="true" 92 android:layout_below="@id/recents_callout_line" 93 android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" 94 android:layout_marginTop="3dip" 95 android:singleLine="true" 96 android:ellipsize="marquee" 97 /> 98 99 </RelativeLayout> 100