• 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<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_alignParentLeft="true"
44            android:layout_alignTop="@+id/app_icon"
45            android:paddingTop="2dp"
46            android:layout_marginLeft="@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        />
52        <FrameLayout android:id="@+id/app_thumbnail"
53            android:layout_width="wrap_content"
54            android:layout_height="wrap_content"
55            android:layout_alignParentTop="true"
56            android:layout_toRightOf="@id/app_label"
57            android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin"
58            android:background="@drawable/recents_thumbnail_bg"
59            android:foreground="@drawable/recents_thumbnail_fg"
60            android:visibility="invisible">
61            <ImageView android:id="@+id/app_thumbnail_image"
62                android:layout_width="@dimen/status_bar_recents_thumbnail_width"
63                android:layout_height="@dimen/status_bar_recents_thumbnail_height"
64            />
65        </FrameLayout>
66        <View android:id="@+id/recents_callout_line"
67            android:layout_width="@dimen/status_bar_recents_app_label_width"
68            android:layout_height="1dip"
69            android:layout_alignParentLeft="true"
70            android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin"
71            android:layout_toLeftOf="@id/app_thumbnail"
72            android:layout_below="@id/app_label"
73            android:layout_marginRight="3dip"
74            android:layout_marginTop="3dip"
75            android:background="@drawable/recents_callout_line"
76        />
77
78        <ImageView android:id="@id/app_icon"
79            android:layout_width="wrap_content"
80            android:layout_height="wrap_content"
81            android:layout_toRightOf="@id/app_label"
82            android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin"
83            android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin"
84            android:maxWidth="@dimen/status_bar_recents_app_icon_max_width"
85            android:maxHeight="@dimen/status_bar_recents_app_icon_max_height"
86            android:scaleType="centerInside"
87            android:adjustViewBounds="true"
88            android:visibility="invisible"
89        />
90
91        <TextView android:id="@+id/app_description"
92            android:layout_width="@dimen/status_bar_recents_app_label_width"
93            android:layout_height="wrap_content"
94            android:textSize="@dimen/status_bar_recents_app_description_text_size"
95            android:fadingEdge="horizontal"
96            android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length"
97            android:scrollHorizontally="true"
98            android:layout_alignParentLeft="true"
99            android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin"
100            android:layout_below="@id/recents_callout_line"
101            android:layout_marginTop="3dip"
102            android:singleLine="true"
103            android:ellipsize="marquee"
104        />
105
106    </RelativeLayout>
107</FrameLayout>
108