• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <FrameLayout android:id="@+id/app_thumbnail"
27        android:layout_width="wrap_content"
28        android:layout_height="wrap_content"
29        android:layout_alignParentLeft="true"
30        android:layout_alignParentTop="true"
31        android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin"
32        android:scaleType="center"
33        android:background="@drawable/recents_thumbnail_bg"
34        android:foreground="@drawable/recents_thumbnail_fg"
35        android:visibility="invisible">
36        <ImageView android:id="@+id/app_thumbnail_image"
37            android:layout_width="@dimen/status_bar_recents_thumbnail_width"
38            android:layout_height="@dimen/status_bar_recents_thumbnail_height"
39        />
40        <ImageView android:id="@+id/app_icon"
41            android:layout_width="wrap_content"
42            android:layout_height="wrap_content"
43            android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin"
44            android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin"
45            android:maxWidth="@dimen/status_bar_recents_app_icon_max_width"
46            android:maxHeight="@dimen/status_bar_recents_app_icon_max_height"
47            android:adjustViewBounds="true"
48        />
49    </FrameLayout>
50
51    <TextView android:id="@+id/app_label"
52        android:layout_width="@dimen/status_bar_recents_app_label_width"
53        android:layout_height="wrap_content"
54        android:textSize="@dimen/status_bar_recents_app_label_text_size"
55        android:fadingEdge="horizontal"
56        android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length"
57        android:scrollHorizontally="true"
58        android:layout_alignParentLeft="true"
59        android:layout_alignParentTop="true"
60        android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin"
61        android:layout_marginTop="32dip"
62        android:singleLine="true"
63        android:ellipsize="marquee"
64        android:textColor="@color/status_bar_recents_app_label_color"
65    />
66
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_below="@id/app_label"
71        android:layout_marginTop="3dip"
72        android:layout_alignParentLeft="true"
73        android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin"
74        android:layout_toLeftOf="@id/app_thumbnail"
75        android:layout_marginRight="3dip"
76        android:background="@drawable/recents_callout_line"
77    />
78
79    <TextView android:id="@+id/app_description"
80        android:layout_width="@dimen/status_bar_recents_app_label_width"
81        android:layout_height="wrap_content"
82        android:textSize="@dimen/status_bar_recents_app_description_text_size"
83        android:fadingEdge="horizontal"
84        android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length"
85        android:scrollHorizontally="true"
86        android:layout_alignParentLeft="true"
87        android:layout_below="@id/recents_callout_line"
88        android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin"
89        android:layout_marginTop="3dip"
90        android:singleLine="true"
91        android:ellipsize="marquee"
92    />
93
94</RelativeLayout>
95