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_alignParentLeft="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 <TextView 54 android:id="@+id/status" 55 android:textAppearance="?android:attr/textAppearanceMedium" 56 android:layout_width="match_parent" 57 android:layout_height="wrap_content" 58 /> 59 60 <ImageView 61 android:id="@+id/encroid" 62 android:layout_width="wrap_content" 63 android:layout_height="0dip" 64 android:layout_weight="1" 65 android:layout_gravity="bottom|right" 66 android:src="@drawable/encroid_waiting" 67 android:contentDescription="@null" 68 /> 69 70 <Button 71 android:id="@+id/factory_reset" 72 android:layout_width="wrap_content" 73 android:layout_height="wrap_content" 74 android:layout_margin="32dip" 75 android:layout_gravity="center" 76 android:text="@string/master_clear_button_text" 77 android:visibility="gone" 78 /> 79 80 </LinearLayout> 81