1 <?xml version="1.0" encoding="utf-8"?>
4 ** Copyright 2008, The Android Open Source Project
6 ** Licensed under the Apache License, Version 2.0 (the "License");
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
10 ** http://www.apache.org/licenses/LICENSE-2.0
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_width="fill_parent"
22 android:layout_height="fill_parent"
23 android:orientation="vertical"
24 android:background="@android:drawable/status_bar_item_app_background"
28 android:layout_width="fill_parent"
29 android:layout_height="fill_parent"
30 android:orientation="horizontal"
33 <LinearLayout android:id="@+id/app"
34 android:layout_width="40dp"
35 android:layout_height="fill_parent"
36 android:orientation="vertical"
37 android:paddingTop="8dp"
38 android:focusable="true"
39 android:clickable="true"
41 <com.android.server.status.AnimatedImageView
42 android:id="@+id/appIcon"
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:layout_gravity="center"
46 android:src="@android:drawable/sym_def_app_icon"
48 <TextView android:id="@+id/progress_text"
49 android:layout_width="wrap_content"
50 android:layout_height="wrap_content"
51 android:textColor="#ff000000"
52 android:singleLine="true"
53 android:textSize="14sp"
54 android:layout_gravity="center_horizontal"
58 <RelativeLayout android:id="@+id/app"
59 android:layout_width="fill_parent"
60 android:layout_height="fill_parent"
61 android:orientation="vertical"
62 android:focusable="true"
63 android:clickable="true"
65 <LinearLayout android:id="@+id/notification"
66 android:layout_width="fill_parent"
67 android:layout_height="wrap_content"
68 android:orientation="horizontal"
69 android:focusable="true"
70 android:clickable="true"
71 android:layout_alignParentTop="true"
72 android:paddingTop="10dp"
74 <TextView android:id="@+id/title"
75 android:layout_width="wrap_content"
76 android:layout_height="wrap_content"
77 android:singleLine="true"
78 android:textSize="18sp"
79 android:textColor="#ff000000"
80 android:paddingLeft="2dp"
82 <TextView android:id="@+id/description"
83 android:layout_width="wrap_content"
84 android:layout_height="wrap_content"
85 android:textColor="#ff000000"
86 android:singleLine="true"
87 android:textSize="14sp"
88 android:paddingLeft="5dp"
91 <ProgressBar android:id="@+id/progress_bar"
92 style="?android:attr/progressBarStyleHorizontal"
93 android:layout_width="fill_parent"
94 android:layout_height="wrap_content"
95 android:layout_alignParentBottom="true"
96 android:paddingBottom="8dp"
97 android:paddingRight="25dp"
102 <com.android.server.status.AnimatedImageView
103 android:layout_width="fill_parent"
104 android:layout_height="wrap_content"
105 android:src="@android:drawable/divider_horizontal_bright"