1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 ** 4 ** Copyright 2011, The Android Open Source Project 5 ** 6 ** Licensed under the Apache License, Version 2.0 (the "License") 7 ** you may not use this file except in compliance with the License. 8 ** You may obtain a copy of the License at 9 ** 10 ** http://www.apache.org/licenses/LICENSE-2.0 11 ** 12 ** Unless required by applicable law or agreed to in writing, software 13 ** distributed under the License is distributed on an "AS IS" BASIS, 14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 ** See the License for the specific language governing permissions and 16 ** limitations under the License. 17 */ 18 --> 19 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 > 23 <include layout="@layout/crypt_keeper_status" /> 24 25 <RelativeLayout 26 android:layout_width="wrap_content" 27 android:layout_height="wrap_content" 28 android:layout_centerHorizontal="true" 29 android:layout_marginTop="318dip" 30 > 31 <ImageView android:id="@+id/encroid" 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 android:layout_alignParentTop="true" 35 android:src="@drawable/encroid_resignin" 36 /> 37 38 <TextView android:id="@+id/passwordLabel" 39 android:layout_height="wrap_content" 40 android:layout_width="wrap_content" 41 android:layout_toRightOf="@+id/encroid" 42 android:layout_marginTop="37dip" 43 android:paddingLeft="17dip" 44 android:paddingRight="17dip" 45 android:singleLine="true" 46 android:textAppearance="?android:attr/textAppearanceMedium" 47 android:text="@string/crypt_keeper_enter_password" 48 /> 49 50 <!-- Password entry field --> 51 <LinearLayout 52 android:layout_height="wrap_content" 53 android:layout_width="320dip" 54 android:layout_toRightOf="@+id/passwordLabel" 55 android:layout_marginTop="26dip" 56 android:orientation="horizontal" 57 > 58 <include layout="@layout/crypt_keeper_password_field" /> 59 </LinearLayout> 60 61 <TextView android:id="@+id/status" 62 android:layout_height="wrap_content" 63 android:layout_width="wrap_content" 64 android:layout_toRightOf="@+id/passwordLabel" 65 android:layout_below="@+id/passwordEntry" 66 android:paddingTop="8dip" 67 android:singleLine="true" 68 android:textSize="17sp" 69 android:textAppearance="?android:attr/textAppearanceMedium" 70 android:drawableLeft="@*android:drawable/ic_lock_idle_lock" 71 android:visibility="gone" 72 /> 73 </RelativeLayout> 74 75 </RelativeLayout> 76