| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2011 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:orientation="vertical" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| <RelativeLayout |
| android:layout_width="fill_parent" |
| android:layout_height="40dp"> |
| <TextView android:id="@+id/status" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_centerVertical="true" |
| android:layout_centerHorizontal="true" /> |
| <ProgressBar android:id="@+id/progress" |
| style="?android:attr/progressBarStyleHorizontal" |
| android:max="100" |
| android:progress="30" |
| android:secondaryProgress="65" |
| android:layout_marginTop="2dp" |
| android:layout_marginBottom="2dp" |
| android:layout_width="130dp" |
| android:layout_height="4dp" |
| android:layout_below="@id/status" |
| android:layout_centerHorizontal="true"/> |
| </RelativeLayout> |
| <RelativeLayout android:layout_width="fill_parent" |
| android:layout_height="@dimen/manage_cache_bottom_height" |
| android:paddingStart="16dp" |
| android:paddingEnd="16dp" |
| android:background="#1f1f1f"> |
| <TextView android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/make_available_offline" |
| android:textSize="14sp" |
| android:layout_alignParentStart="true" |
| android:layout_centerVertical="true" |
| android:gravity="center_vertical" |
| android:drawableStart="@drawable/ic_menu_make_offline" |
| android:drawablePadding="3dp"/> |
| <Button android:id="@+id/done" |
| android:layout_width="74dp" |
| android:layout_height="match_parent" |
| android:text="@string/done" |
| android:textSize="14sp" |
| android:layout_alignParentEnd="true"/> |
| </RelativeLayout> |
| </LinearLayout> |