• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2
3<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4    android:layout_width="fill_parent"
5    android:layout_height="fill_parent"
6    android:orientation="vertical"
7    android:background="@android:drawable/status_bar_item_app_background"
8    >
9
10    <LinearLayout
11        android:layout_width="fill_parent"
12        android:layout_height="fill_parent"
13        android:orientation="horizontal"
14        >
15
16        <LinearLayout
17            android:layout_width="40dp"
18            android:layout_height="fill_parent"
19            android:orientation="vertical"
20            android:paddingTop="8dp"
21            android:focusable="true"
22            android:clickable="true"
23            >
24            <com.android.server.status.AnimatedImageView
25                android:id="@+id/appIcon"
26                android:layout_width="wrap_content"
27                android:layout_height="wrap_content"
28                android:layout_gravity="center"
29                android:src="@android:drawable/sym_def_app_icon"
30                />
31            <TextView android:id="@+id/progress_text"
32                android:layout_width="wrap_content"
33                android:layout_height="wrap_content"
34                android:textColor="#ff000000"
35                android:singleLine="true"
36                android:textSize="14sp"
37                android:layout_gravity="center_horizontal"
38                />
39        </LinearLayout>
40
41        <RelativeLayout
42            android:layout_width="fill_parent"
43            android:layout_height="fill_parent"
44            android:orientation="vertical"
45            android:focusable="true"
46            android:clickable="true"
47            >
48            <LinearLayout
49                android:layout_width="fill_parent"
50                android:layout_height="wrap_content"
51                android:orientation="horizontal"
52                android:focusable="true"
53                android:clickable="true"
54                android:layout_alignParentTop="true"
55                android:paddingTop="10dp"
56                >
57                <TextView android:id="@+id/description"
58                    android:layout_width="wrap_content"
59                    android:layout_height="wrap_content"
60                    android:textColor="#ff000000"
61                    android:singleLine="true"
62                    android:textSize="14sp"
63                    android:paddingLeft="5dp"
64                    />
65            </LinearLayout>
66            <ProgressBar android:id="@+id/progress_bar"
67                style="?android:attr/progressBarStyleHorizontal"
68                android:layout_width="fill_parent"
69                android:layout_height="wrap_content"
70                android:layout_alignParentBottom="true"
71                android:paddingBottom="8dp"
72                android:paddingRight="25dp"
73                />
74        </RelativeLayout>
75    </LinearLayout>
76
77    <com.android.server.status.AnimatedImageView
78        android:layout_width="fill_parent"
79        android:layout_height="wrap_content"
80        android:src="@android:drawable/divider_horizontal_bright"
81        />
82
83</LinearLayout>
84
85