diff options
Diffstat (limited to 'res/layout-xlarge/crypt_keeper_password_entry.xml')
-rw-r--r-- | res/layout-xlarge/crypt_keeper_password_entry.xml | 85 |
1 files changed, 41 insertions, 44 deletions
diff --git a/res/layout-xlarge/crypt_keeper_password_entry.xml b/res/layout-xlarge/crypt_keeper_password_entry.xml index 4dce67a..b67eed0 100644 --- a/res/layout-xlarge/crypt_keeper_password_entry.xml +++ b/res/layout-xlarge/crypt_keeper_password_entry.xml @@ -17,52 +17,49 @@ */ --> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical" + android:gravity="center_horizontal" > - <LinearLayout - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:orientation="vertical" - android:gravity="center_vertical" - > - <include layout="@layout/crypt_keeper_status" /> - </LinearLayout> - - <!-- right side: password --> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:gravity="center"> - <!-- Password entry field --> - <EditText android:id="@+id/passwordEntry" - android:layout_height="wrap_content" - android:layout_width="450dip" - android:singleLine="true" - android:textStyle="normal" - android:inputType="textPassword" - android:gravity="center" - android:layout_gravity="center" - android:textSize="24sp" - android:layout_marginTop="120dip" - android:layout_marginBottom="5dip" - android:textAppearance="?android:attr/textAppearanceMedium" - android:textColor="#ffffffff" - android:editable="false" - /> + <!-- left side: status --> + <include layout="@layout/crypt_keeper_status" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="134dip" + android:paddingTop="50dip" + android:layout_alignParentTop="true" + android:layout_gravity="center_horizontal" + android:layout_centerHorizontal="true" + /> - <com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard" - android:layout_width="450dip" - android:layout_height="230dip" - android:background="#00000000" - android:keyBackground="@*android:drawable/btn_keyboard_key_fulltrans" - android:visibility="visible" - /> - - </LinearLayout> - -</LinearLayout>
\ No newline at end of file + <!-- Password entry field --> + <EditText android:id="@+id/passwordEntry" + android:layout_above="@id/keyboard" + android:layout_height="wrap_content" + android:layout_width="450dip" + android:singleLine="true" + android:textStyle="normal" + android:inputType="textPassword" + android:gravity="center" + android:layout_gravity="center_horizontal" + android:layout_centerHorizontal="true" + android:textSize="24sp" + android:layout_marginTop="120dip" + android:layout_marginBottom="5dip" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="#ffffffff" + android:editable="false" + /> + + <com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:background="#00000000" + android:keyBackground="@*android:drawable/btn_keyboard_key_fulltrans" + android:visibility="visible" + /> + +</RelativeLayout>
\ No newline at end of file |