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