blob: 9d43e91f0d16bc000a2bba8ce7ea1c7e58f489b6 [file] [log] [blame]
Owen Linbc552bd2011-09-09 13:33:44 +08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
Chih-Chung Chang710db772011-09-19 11:09:39 +080016<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17 android:orientation="vertical"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content">
20 <RelativeLayout
21 android:layout_width="fill_parent"
22 android:layout_height="40dp">
23 <TextView android:id="@+id/status"
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"
26 android:layout_centerVertical="true"
27 android:layout_centerHorizontal="true" />
28 <ProgressBar android:id="@+id/progress"
29 style="?android:attr/progressBarStyleHorizontal"
30 android:max="100"
31 android:progress="30"
32 android:secondaryProgress="65"
33 android:layout_marginTop="2dp"
34 android:layout_marginBottom="2dp"
35 android:layout_width="130dp"
36 android:layout_height="4dp"
37 android:layout_below="@id/status"
38 android:layout_centerHorizontal="true"/>
39 </RelativeLayout>
40 <RelativeLayout android:layout_width="fill_parent"
41 android:layout_height="@dimen/manage_cache_bottom_height"
42 android:background="#1f1f1f">
43 <TextView android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:text="@string/make_available_offline"
46 android:layout_alignParentLeft="true"
47 android:layout_centerVertical="true"
Chih-Chung Changfa7e5812011-09-21 14:04:34 +080048 android:gravity="center_vertical"
Chih-Chung Chang8f81d502011-09-21 11:42:07 +080049 android:drawableLeft="@drawable/ic_menu_make_offline"
Chih-Chung Chang710db772011-09-19 11:09:39 +080050 android:drawablePadding="3dp"/>
Owen Linbc552bd2011-09-09 13:33:44 +080051 <Button android:id="@+id/done"
Chih-Chung Chang710db772011-09-19 11:09:39 +080052 android:layout_width="wrap_content"
53 android:layout_height="match_parent"
54 android:text="@string/done"
55 android:layout_alignParentRight="true"/>
56 </RelativeLayout>
57</LinearLayout>