1 <?xml version="1.0" encoding="utf-8"?>
4 ** Copyright 2011, The Android Open Source Project
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
10 ** http://www.apache.org/licenses/LICENSE-2.0
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.
19 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 android:layout_width="match_parent"
21 android:layout_height="match_parent"
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"
26 android:layout_centerHorizontal="true"
27 android:layout_marginTop="206dip"
29 <ImageView android:id="@+id/encroid"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:layout_alignParentTop="true"
33 android:src="@drawable/encroid_resignin"
36 <TextView android:id="@+id/passwordLabel"
37 android:layout_height="wrap_content"
38 android:layout_width="wrap_content"
39 android:layout_toRightOf="@+id/encroid"
40 android:layout_marginTop="37dip"
41 android:paddingRight="17dip"
42 android:singleLine="true"
43 android:textAppearance="?android:attr/textAppearanceMedium"
44 android:text="@string/crypt_keeper_enter_password"
47 <!-- Password entry field -->
49 class="com.android.settings.CryptKeeper$CryptEditText"
50 android:id="@+id/passwordEntry"
51 android:layout_height="wrap_content"
52 android:layout_width="320dip"
53 android:layout_toRightOf="@+id/passwordLabel"
54 android:layout_marginTop="26dip"
55 android:singleLine="true"
56 android:inputType="textPassword"
57 android:textAppearance="?android:attr/textAppearanceMedium"
58 android:editable="false"
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"
75 <com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard"
76 android:layout_width="match_parent"
77 android:layout_height="wrap_content"
78 android:layout_alignParentBottom="true"
79 android:background="#00000000"
80 android:keyBackground="@*android:drawable/btn_keyboard_key_fulltrans"
81 android:visibility="visible"