1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2008 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 -->
17
18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:orientation="vertical">
22
23      <LinearLayout
24        android:layout_width="match_parent"
25        android:layout_height="wrap_content">
26          <TextView android:id="@+id/customText"
27              android:layout_width="0dip"
28              android:layout_weight="1"
29              android:layout_height="wrap_content"
30              android:padding="3dip"
31              android:textAppearance="?android:attr/textAppearanceLarge" />
32      </LinearLayout>
33      <LinearLayout
34        android:layout_width="match_parent"
35        android:layout_height="wrap_content">
36          <TextView android:text="@string/download_activity_progress"
37              android:layout_width="0dip"
38              android:layout_weight="1"
39              android:layout_height="wrap_content"
40              android:padding="3dip"
41              android:gravity="right"
42              android:textAppearance="?android:attr/textAppearanceMedium" />
43          <TextView android:id="@+id/progress"
44              android:layout_width="0dip"
45              android:layout_weight="1"
46              android:layout_height="wrap_content"
47              android:padding="3dip"
48              android:textAppearance="?android:attr/textAppearanceMedium" />
49      </LinearLayout>
50
51      <LinearLayout
52              android:layout_width="match_parent"
53              android:layout_height="wrap_content">
54          <TextView android:text="@string/download_activity_time_remaining"
55              android:layout_width="0dip"
56              android:layout_weight="1"
57              android:layout_height="wrap_content"
58              android:padding="3dip"
59              android:gravity="right"
60              android:textAppearance="?android:attr/textAppearanceMedium" />
61          <TextView android:id="@+id/time_remaining"
62              android:layout_width="0dip"
63              android:layout_weight="1"
64              android:layout_height="wrap_content"
65              android:padding="3dip"
66              android:textAppearance="?android:attr/textAppearanceMedium" />
67      </LinearLayout>
68
69  <Button android:id="@+id/cancel"
70    android:layout_width="wrap_content"
71    android:layout_height="wrap_content"
72    android:layout_gravity="center"
73    android:layout_marginTop="5dip"
74    android:text="@string/download_activity_cancel" />
75</LinearLayout>
76