blob: 5c716133d99726f5b4bf60a72814fb0ffaca23c6 [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"
Chih-Chung Changcf591342011-11-03 19:25:58 +080042 android:paddingLeft="16dp"
43 android:paddingRight="16dp"
Chih-Chung Chang710db772011-09-19 11:09:39 +080044 android:background="#1f1f1f">
45 <TextView android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:text="@string/make_available_offline"
Chih-Chung Changcf591342011-11-03 19:25:58 +080048 android:textSize="14sp"
Chih-Chung Chang710db772011-09-19 11:09:39 +080049 android:layout_alignParentLeft="true"
50 android:layout_centerVertical="true"
Chih-Chung Changfa7e5812011-09-21 14:04:34 +080051 android:gravity="center_vertical"
Chih-Chung Chang8f81d502011-09-21 11:42:07 +080052 android:drawableLeft="@drawable/ic_menu_make_offline"
Chih-Chung Chang710db772011-09-19 11:09:39 +080053 android:drawablePadding="3dp"/>
Owen Linbc552bd2011-09-09 13:33:44 +080054 <Button android:id="@+id/done"
Chih-Chung Changcf591342011-11-03 19:25:58 +080055 android:layout_width="74dp"
Chih-Chung Chang710db772011-09-19 11:09:39 +080056 android:layout_height="match_parent"
57 android:text="@string/done"
Chih-Chung Changcf591342011-11-03 19:25:58 +080058 android:textSize="14sp"
Chih-Chung Chang710db772011-09-19 11:09:39 +080059 android:layout_alignParentRight="true"/>
60 </RelativeLayout>
61</LinearLayout>