Jason parks | ec5a45e | 2011-01-18 15:28:36 -0600 | [diff] [blame] | 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" |
Ben Komalo | f0104df | 2011-08-16 17:48:42 -0700 | [diff] [blame] | 21 | android:padding="16dip" |
Jason parks | ec5a45e | 2011-01-18 15:28:36 -0600 | [diff] [blame] | 22 | android:orientation="vertical" |
| 23 | > |
| 24 | |
| 25 | <TextView |
Ben Komalo | f0104df | 2011-08-16 17:48:42 -0700 | [diff] [blame] | 26 | android:id="@+id/title" |
Jason parks | ec5a45e | 2011-01-18 15:28:36 -0600 | [diff] [blame] | 27 | android:layout_width="wrap_content" |
| 28 | android:layout_height="wrap_content" |
| 29 | android:minHeight="48dip" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 30 | android:layout_alignParentStart="true" |
Jason parks | ec5a45e | 2011-01-18 15:28:36 -0600 | [diff] [blame] | 31 | android:layout_centerVertical="true" |
Jason parks | ec5a45e | 2011-01-18 15:28:36 -0600 | [diff] [blame] | 32 | android:textSize="30dip" |
Ben Komalo | 9cec1be | 2011-09-01 10:30:13 -0700 | [diff] [blame] | 33 | android:textColor="@color/title_color" |
Jason parks | ec5a45e | 2011-01-18 15:28:36 -0600 | [diff] [blame] | 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> |
Ben Komalo | f0104df | 2011-08-16 17:48:42 -0700 | [diff] [blame] | 51 | |
| 52 | |
Jason parks | ec5a45e | 2011-01-18 15:28:36 -0600 | [diff] [blame] | 53 | <TextView |
Jason parks | 00046d6 | 2011-06-13 17:38:45 -0500 | [diff] [blame] | 54 | android:id="@+id/status" |
Ben Komalo | f0104df | 2011-08-16 17:48:42 -0700 | [diff] [blame] | 55 | android:textAppearance="?android:attr/textAppearanceMedium" |
Jason parks | ec5a45e | 2011-01-18 15:28:36 -0600 | [diff] [blame] | 56 | android:layout_width="match_parent" |
Ben Komalo | f0104df | 2011-08-16 17:48:42 -0700 | [diff] [blame] | 57 | android:layout_height="wrap_content" |
| 58 | /> |
| 59 | |
| 60 | <ImageView |
| 61 | android:id="@+id/encroid" |
| 62 | android:layout_width="wrap_content" |
Jason parks | ec5a45e | 2011-01-18 15:28:36 -0600 | [diff] [blame] | 63 | android:layout_height="0dip" |
| 64 | android:layout_weight="1" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 65 | android:layout_gravity="bottom|end" |
Ben Komalo | f0104df | 2011-08-16 17:48:42 -0700 | [diff] [blame] | 66 | android:src="@drawable/encroid_waiting" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 67 | android:contentDescription="@null" |
Ben Komalo | f0104df | 2011-08-16 17:48:42 -0700 | [diff] [blame] | 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" |
Jason parks | ec5a45e | 2011-01-18 15:28:36 -0600 | [diff] [blame] | 78 | /> |
| 79 | |
| 80 | </LinearLayout> |