blob: 34f60b217c2fea35fa613d0c05f14676ed30273c [file] [log] [blame]
Jim Millerfefef312010-11-09 14:08:39 -08001<?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
Michael Jurka3cd0a592011-08-16 12:40:30 -070021<RelativeLayout android:id="@+id/recent_item"
Jim Millerfefef312010-11-09 14:08:39 -080022 xmlns:android="http://schemas.android.com/apk/res/android"
23 android:layout_height="wrap_content"
Michael Jurka3cd0a592011-08-16 12:40:30 -070024 android:layout_width="wrap_content">
Jim Millerfefef312010-11-09 14:08:39 -080025
Jim Millere5c16ab2010-12-03 19:18:38 -080026 <TextView android:id="@+id/app_label"
Michael Jurka3b1fc472011-06-13 10:54:40 -070027 android:layout_width="@dimen/status_bar_recents_app_label_width"
Jim Millere5c16ab2010-12-03 19:18:38 -080028 android:layout_height="wrap_content"
Michael Jurka3b1fc472011-06-13 10:54:40 -070029 android:textSize="@dimen/status_bar_recents_app_label_text_size"
Jim Miller4f881702011-02-17 15:12:46 -080030 android:fadingEdge="horizontal"
Michael Jurka55a25fa2012-04-02 07:09:10 -070031 android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length"
Jim Millere5c16ab2010-12-03 19:18:38 -080032 android:scrollHorizontally="true"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -070033 android:layout_alignParentStart="true"
Jim Millere5c16ab2010-12-03 19:18:38 -080034 android:layout_alignParentTop="true"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -070035 android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin"
Jim Millere5c16ab2010-12-03 19:18:38 -080036 android:layout_marginTop="32dip"
Jim Miller4f881702011-02-17 15:12:46 -080037 android:singleLine="true"
38 android:ellipsize="marquee"
Michael Jurka0e8063a2011-09-09 15:31:55 -070039 android:textColor="@color/status_bar_recents_app_label_color"
Casey Burkhardt2868059d2012-10-01 16:52:11 -070040 android:importantForAccessibility="no"
Jim Millere5c16ab2010-12-03 19:18:38 -080041 />
Jim Millerfefef312010-11-09 14:08:39 -080042
Michael Jurkabfd24ac2011-11-13 13:50:38 -080043 <FrameLayout android:id="@+id/app_thumbnail"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -070046 android:layout_toEndOf="@id/app_label"
47 android:layout_marginStart="@dimen/status_bar_recents_thumbnail_left_margin"
Michael Jurkabfd24ac2011-11-13 13:50:38 -080048 android:scaleType="center"
49 android:background="@drawable/recents_thumbnail_bg"
50 android:foreground="@drawable/recents_thumbnail_fg"
51 android:visibility="invisible">
52 <ImageView android:id="@+id/app_thumbnail_image"
53 android:layout_width="@dimen/status_bar_recents_thumbnail_width"
54 android:layout_height="@dimen/status_bar_recents_thumbnail_height"
55 />
56 </FrameLayout>
57
58
59 <ImageView android:id="@+id/app_icon"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -070062 android:layout_toEndOf="@id/app_label"
63 android:layout_marginStart="@dimen/status_bar_recents_app_icon_left_margin"
Michael Jurkabfd24ac2011-11-13 13:50:38 -080064 android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin"
65 android:maxWidth="@dimen/status_bar_recents_app_icon_max_width"
66 android:maxHeight="@dimen/status_bar_recents_app_icon_max_height"
67 android:scaleType="centerInside"
68 android:adjustViewBounds="true"
Michael Jurka99a96552012-01-27 17:23:38 -080069 android:visibility="invisible"
Michael Jurkabfd24ac2011-11-13 13:50:38 -080070 />
71
72
Michael Jurka3b1fc472011-06-13 10:54:40 -070073 <View android:id="@+id/recents_callout_line"
74 android:layout_width="@dimen/status_bar_recents_app_label_width"
75 android:layout_height="1dip"
76 android:layout_below="@id/app_label"
77 android:layout_marginTop="3dip"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -070078 android:layout_alignParentStart="true"
79 android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin"
80 android:layout_toStartOf="@id/app_thumbnail"
81 android:layout_marginEnd="3dip"
Michael Jurka3b1fc472011-06-13 10:54:40 -070082 android:background="@drawable/recents_callout_line"
83 />
84
Jim Millere5c16ab2010-12-03 19:18:38 -080085 <TextView android:id="@+id/app_description"
Michael Jurka3b1fc472011-06-13 10:54:40 -070086 android:layout_width="@dimen/status_bar_recents_app_label_width"
Jim Millere5c16ab2010-12-03 19:18:38 -080087 android:layout_height="wrap_content"
Jim Miller9f0f0e02011-05-17 20:06:29 -070088 android:textSize="@dimen/status_bar_recents_app_description_text_size"
Jim Miller4f881702011-02-17 15:12:46 -080089 android:fadingEdge="horizontal"
Michael Jurka55a25fa2012-04-02 07:09:10 -070090 android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length"
Jim Miller4f881702011-02-17 15:12:46 -080091 android:scrollHorizontally="true"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -070092 android:layout_alignParentStart="true"
Michael Jurka3b1fc472011-06-13 10:54:40 -070093 android:layout_below="@id/recents_callout_line"
Fabrice Di Meglio8afcd142012-07-27 18:27:11 -070094 android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin"
Michael Jurka3b1fc472011-06-13 10:54:40 -070095 android:layout_marginTop="3dip"
Jim Miller4f881702011-02-17 15:12:46 -080096 android:singleLine="true"
97 android:ellipsize="marquee"
Jim Millere5c16ab2010-12-03 19:18:38 -080098 />
99
100</RelativeLayout>