1<?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 --> 16 17<LinearLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:padding="16dip" 22 android:orientation="vertical" 23> 24 25 <TextView 26 android:id="@+id/title" 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content" 29 android:minHeight="48dip" 30 android:layout_alignParentStart="true" 31 android:layout_centerVertical="true" 32 android:textSize="30dip" 33 android:textColor="@color/title_color" 34 android:text="@string/crypt_keeper_setup_title" 35 android:gravity="bottom" 36 /> 37 38 <!-- Divider --> 39 <RelativeLayout 40 android:id="@+id/top_divider" 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 > 44 <ProgressBar 45 android:id="@+id/progress_bar" 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 style="?android:attr/progressBarStyleHorizontal" 49 /> 50 </RelativeLayout> 51 52 53 <LinearLayout 54 android:layout_width="match_parent" 55 android:layout_height="0dip" 56 android:layout_weight="1" 57 android:orientation="horizontal" 58 > 59 <TextView 60 android:id="@+id/status" 61 android:textAppearance="?android:attr/textAppearanceMedium" 62 android:layout_width="0dip" 63 android:layout_height="wrap_content" 64 android:layout_weight="1" 65 /> 66 67 <ImageView 68 android:id="@+id/encroid" 69 android:layout_width="wrap_content" 70 android:layout_height="wrap_content" 71 android:src="@drawable/encroid_waiting" 72 android:contentDescription="@null" 73 /> 74 75 <Button 76 android:id="@+id/factory_reset" 77 android:layout_width="wrap_content" 78 android:layout_height="wrap_content" 79 android:layout_margin="32dip" 80 android:text="@string/main_clear_button_text" 81 android:visibility="gone" 82 /> 83 </LinearLayout> 84 85</LinearLayout> 86 87