Jim Miller | fefef31 | 2010-11-09 14:08:39 -0800 | [diff] [blame] | 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 | |
Michael Jurka | 3cd0a59 | 2011-08-16 12:40:30 -0700 | [diff] [blame] | 21 | <RelativeLayout android:id="@+id/recent_item" |
Jim Miller | fefef31 | 2010-11-09 14:08:39 -0800 | [diff] [blame] | 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 23 | android:layout_height="wrap_content" |
Michael Jurka | 3cd0a59 | 2011-08-16 12:40:30 -0700 | [diff] [blame] | 24 | android:layout_width="wrap_content"> |
Jim Miller | fefef31 | 2010-11-09 14:08:39 -0800 | [diff] [blame] | 25 | |
Jim Miller | e5c16ab | 2010-12-03 19:18:38 -0800 | [diff] [blame] | 26 | <TextView android:id="@+id/app_label" |
Michael Jurka | 3b1fc47 | 2011-06-13 10:54:40 -0700 | [diff] [blame] | 27 | android:layout_width="@dimen/status_bar_recents_app_label_width" |
Jim Miller | e5c16ab | 2010-12-03 19:18:38 -0800 | [diff] [blame] | 28 | android:layout_height="wrap_content" |
Michael Jurka | 3b1fc47 | 2011-06-13 10:54:40 -0700 | [diff] [blame] | 29 | android:textSize="@dimen/status_bar_recents_app_label_text_size" |
Jim Miller | 4f88170 | 2011-02-17 15:12:46 -0800 | [diff] [blame] | 30 | android:fadingEdge="horizontal" |
Michael Jurka | 55a25fa | 2012-04-02 07:09:10 -0700 | [diff] [blame] | 31 | android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" |
Jim Miller | e5c16ab | 2010-12-03 19:18:38 -0800 | [diff] [blame] | 32 | android:scrollHorizontally="true" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 33 | android:layout_alignParentStart="true" |
Jim Miller | e5c16ab | 2010-12-03 19:18:38 -0800 | [diff] [blame] | 34 | android:layout_alignParentTop="true" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 35 | android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin" |
Jim Miller | e5c16ab | 2010-12-03 19:18:38 -0800 | [diff] [blame] | 36 | android:layout_marginTop="32dip" |
Jim Miller | 4f88170 | 2011-02-17 15:12:46 -0800 | [diff] [blame] | 37 | android:singleLine="true" |
| 38 | android:ellipsize="marquee" |
Michael Jurka | 0e8063a | 2011-09-09 15:31:55 -0700 | [diff] [blame] | 39 | android:textColor="@color/status_bar_recents_app_label_color" |
Casey Burkhardt | 2868059d | 2012-10-01 16:52:11 -0700 | [diff] [blame] | 40 | android:importantForAccessibility="no" |
Jim Miller | e5c16ab | 2010-12-03 19:18:38 -0800 | [diff] [blame] | 41 | /> |
Jim Miller | fefef31 | 2010-11-09 14:08:39 -0800 | [diff] [blame] | 42 | |
Michael Jurka | bfd24ac | 2011-11-13 13:50:38 -0800 | [diff] [blame] | 43 | <FrameLayout android:id="@+id/app_thumbnail" |
| 44 | android:layout_width="wrap_content" |
| 45 | android:layout_height="wrap_content" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 46 | android:layout_toEndOf="@id/app_label" |
| 47 | android:layout_marginStart="@dimen/status_bar_recents_thumbnail_left_margin" |
Michael Jurka | bfd24ac | 2011-11-13 13:50:38 -0800 | [diff] [blame] | 48 | 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 Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 62 | android:layout_toEndOf="@id/app_label" |
| 63 | android:layout_marginStart="@dimen/status_bar_recents_app_icon_left_margin" |
Michael Jurka | bfd24ac | 2011-11-13 13:50:38 -0800 | [diff] [blame] | 64 | 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 Jurka | 99a9655 | 2012-01-27 17:23:38 -0800 | [diff] [blame] | 69 | android:visibility="invisible" |
Michael Jurka | bfd24ac | 2011-11-13 13:50:38 -0800 | [diff] [blame] | 70 | /> |
| 71 | |
| 72 | |
Michael Jurka | 3b1fc47 | 2011-06-13 10:54:40 -0700 | [diff] [blame] | 73 | <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 Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 78 | 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 Jurka | 3b1fc47 | 2011-06-13 10:54:40 -0700 | [diff] [blame] | 82 | android:background="@drawable/recents_callout_line" |
| 83 | /> |
| 84 | |
Jim Miller | e5c16ab | 2010-12-03 19:18:38 -0800 | [diff] [blame] | 85 | <TextView android:id="@+id/app_description" |
Michael Jurka | 3b1fc47 | 2011-06-13 10:54:40 -0700 | [diff] [blame] | 86 | android:layout_width="@dimen/status_bar_recents_app_label_width" |
Jim Miller | e5c16ab | 2010-12-03 19:18:38 -0800 | [diff] [blame] | 87 | android:layout_height="wrap_content" |
Jim Miller | 9f0f0e0 | 2011-05-17 20:06:29 -0700 | [diff] [blame] | 88 | android:textSize="@dimen/status_bar_recents_app_description_text_size" |
Jim Miller | 4f88170 | 2011-02-17 15:12:46 -0800 | [diff] [blame] | 89 | android:fadingEdge="horizontal" |
Michael Jurka | 55a25fa | 2012-04-02 07:09:10 -0700 | [diff] [blame] | 90 | android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" |
Jim Miller | 4f88170 | 2011-02-17 15:12:46 -0800 | [diff] [blame] | 91 | android:scrollHorizontally="true" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 92 | android:layout_alignParentStart="true" |
Michael Jurka | 3b1fc47 | 2011-06-13 10:54:40 -0700 | [diff] [blame] | 93 | android:layout_below="@id/recents_callout_line" |
Fabrice Di Meglio | 8afcd14 | 2012-07-27 18:27:11 -0700 | [diff] [blame] | 94 | android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin" |
Michael Jurka | 3b1fc47 | 2011-06-13 10:54:40 -0700 | [diff] [blame] | 95 | android:layout_marginTop="3dip" |
Jim Miller | 4f88170 | 2011-02-17 15:12:46 -0800 | [diff] [blame] | 96 | android:singleLine="true" |
| 97 | android:ellipsize="marquee" |
Jim Miller | e5c16ab | 2010-12-03 19:18:38 -0800 | [diff] [blame] | 98 | /> |
| 99 | |
| 100 | </RelativeLayout> |