use XML layout for pass phrase dialogs as well now, doing away with awkward manual padding, important for Android 1.5 compatibility

This commit is contained in:
Thialfihar
2010-05-11 16:33:34 +00:00
parent 29ea6f2f6f
commit 09ad7df83d
3 changed files with 39 additions and 36 deletions

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="5dip"
android:paddingRight="5dip">
<EditText
android:id="@+id/pass_phrase"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"/>
<EditText
android:id="@+id/pass_phrase_again"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"/>
</LinearLayout>