• 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    <TextView android:id="@+id/app_label"
27        android:layout_width="@dimen/status_bar_recents_app_label_width"
28        android:layout_height="wrap_content"
29        android:textSize="@dimen/status_bar_recents_app_label_text_size"
30        android:fadingEdge="horizontal"
31        android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length"
32        android:scrollHorizontally="true"
33        android:layout_alignParentStart="true"
34        android:layout_alignParentTop="true"
35        android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin"
36        android:layout_marginTop="32dip"
37        android:singleLine="true"
38        android:ellipsize="marquee"
39        android:textColor="@color/status_bar_recents_app_label_color"
40        android:importantForAccessibility="no"
41    />
42
43    <FrameLayout android:id="@+id/app_thumbnail"
44        android:layout_width="wrap_content"
45        android:layout_height="wrap_content"
46        android:layout_toEndOf="@id/app_label"
47        android:layout_marginStart="@dimen/status_bar_recents_thumbnail_left_margin"
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"
62        android:layout_toEndOf="@id/app_label"
63        android:layout_marginStart="@dimen/status_bar_recents_app_icon_left_margin"
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"
69        android:visibility="invisible"
70    />
71
72
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"
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"
82        android:background="@drawable/recents_callout_line"
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_alignParentStart="true"
93        android:layout_below="@id/recents_callout_line"
94        android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin"
95        android:layout_marginTop="3dip"
96        android:singleLine="true"
97        android:ellipsize="marquee"
98    />
99
100</RelativeLayout>
101