• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20    android:orientation="vertical"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent"
23>
24    <RelativeLayout
25        android:layout_width="wrap_content"
26        android:layout_height="0dip"
27        android:layout_weight="1"
28        android:layout_gravity="center_horizontal"
29    >
30        <ImageView android:id="@+id/encroid"
31            android:layout_width="wrap_content"
32            android:layout_height="wrap_content"
33            android:layout_centerVertical="true"
34            android:src="@drawable/encroid_resignin"
35        />
36
37        <TextView android:id="@+id/passwordLabel"
38            android:layout_height="wrap_content"
39            android:layout_width="wrap_content"
40            android:layout_toRightOf="@+id/encroid"
41            android:layout_centerVertical="true"
42            android:paddingRight="17dip"
43            android:singleLine="true"
44            android:textAppearance="?android:attr/textAppearanceMedium"
45            android:text="@string/crypt_keeper_enter_password"
46        />
47
48        <!-- Password entry field -->
49        <LinearLayout
50            android:layout_height="wrap_content"
51            android:layout_width="320dip"
52            android:layout_toRightOf="@+id/passwordLabel"
53            android:layout_centerVertical="true"
54            android:orientation="horizontal"
55        >
56            <include layout="@layout/crypt_keeper_password_field" />
57        </LinearLayout>
58
59        <TextView android:id="@+id/status"
60            android:layout_height="wrap_content"
61            android:layout_width="wrap_content"
62            android:layout_toRightOf="@+id/passwordLabel"
63            android:layout_below="@+id/passwordEntry"
64            android:paddingTop="8dip"
65            android:singleLine="true"
66            android:textSize="17sp"
67            android:textAppearance="?android:attr/textAppearanceMedium"
68            android:drawableLeft="@*android:drawable/ic_lock_idle_lock"
69            android:visibility="gone"
70        />
71    </RelativeLayout>
72
73    <com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard"
74        android:layout_width="match_parent"
75        android:layout_height="wrap_content"
76        android:background="#00000000"
77        android:keyBackground="@*android:drawable/btn_keyboard_key_fulltrans"
78        android:visibility="visible"
79    />
80
81</LinearLayout>
82