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="wrap_content" 24 android:layout_width="match_parent" 25 android:paddingTop="@dimen/status_bar_recents_item_padding" 26 android:paddingBottom="@dimen/status_bar_recents_item_padding" 27 android:clipChildren="false" 28 android:importantForAccessibility="no"> 29 30 <RelativeLayout android:id="@+id/recent_item" 31 android:layout_gravity="center_horizontal" 32 android:layout_height="wrap_content" 33 android:layout_width="wrap_content" 34 android:clipChildren="false"> 35 36 <TextView android:id="@+id/app_label" 37 android:layout_width="@dimen/status_bar_recents_app_label_width" 38 android:layout_height="wrap_content" 39 android:textSize="@dimen/status_bar_recents_app_label_text_size" 40 android:fadingEdge="horizontal" 41 android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" 42 android:scrollHorizontally="true" 43 android:layout_alignParentStart="true" 44 android:layout_alignTop="@+id/app_icon" 45 android:paddingTop="2dp" 46 android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin" 47 android:singleLine="true" 48 android:ellipsize="marquee" 49 android:textColor="@color/status_bar_recents_app_label_color" 50 android:importantForAccessibility="no" 51 android:textAlignment="viewStart" 52 /> 53 <FrameLayout android:id="@+id/app_thumbnail" 54 android:layout_width="wrap_content" 55 android:layout_height="wrap_content" 56 android:layout_alignParentTop="true" 57 android:layout_toEndOf="@id/app_label" 58 android:layout_marginStart="@dimen/status_bar_recents_thumbnail_left_margin" 59 android:background="@drawable/recents_thumbnail_bg" 60 android:foreground="@drawable/recents_thumbnail_fg" 61 android:visibility="invisible"> 62 <ImageView android:id="@+id/app_thumbnail_image" 63 android:layout_width="@dimen/status_bar_recents_thumbnail_width" 64 android:layout_height="@dimen/status_bar_recents_thumbnail_height" 65 /> 66 </FrameLayout> 67 <View android:id="@+id/recents_callout_line" 68 android:layout_width="@dimen/status_bar_recents_app_label_width" 69 android:layout_height="1dip" 70 android:layout_alignParentStart="true" 71 android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin" 72 android:layout_toStartOf="@id/app_thumbnail" 73 android:layout_below="@id/app_label" 74 android:layout_marginEnd="3dip" 75 android:layout_marginTop="3dip" 76 android:background="@drawable/recents_callout_line" 77 /> 78 79 <ImageView android:id="@id/app_icon" 80 android:layout_width="wrap_content" 81 android:layout_height="wrap_content" 82 android:layout_toEndOf="@id/app_label" 83 android:layout_marginStart="@dimen/status_bar_recents_app_icon_left_margin" 84 android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" 85 android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" 86 android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" 87 android:scaleType="centerInside" 88 android:adjustViewBounds="true" 89 android:visibility="invisible" 90 /> 91 92 <TextView android:id="@+id/app_description" 93 android:layout_width="@dimen/status_bar_recents_app_label_width" 94 android:layout_height="wrap_content" 95 android:textSize="@dimen/status_bar_recents_app_description_text_size" 96 android:fadingEdge="horizontal" 97 android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" 98 android:scrollHorizontally="true" 99 android:layout_alignParentStart="true" 100 android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin" 101 android:layout_below="@id/recents_callout_line" 102 android:layout_marginTop="3dip" 103 android:singleLine="true" 104 android:ellipsize="marquee" 105 android:textAlignment="viewStart" 106 /> 107 108 </RelativeLayout> 109 </FrameLayout> 110