From c026dac8fc9d1afede0fb7fb0179a634d14b612e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sun, 7 Sep 2014 17:27:25 +0200 Subject: [PATCH] Remove table layout, use hint text for edit fields --- .../src/main/res/layout/passphrase_dialog.xml | 86 +++++++++---------- .../res/layout/passphrase_repeat_dialog.xml | 64 ++++++-------- 2 files changed, 66 insertions(+), 84 deletions(-) diff --git a/OpenKeychain/src/main/res/layout/passphrase_dialog.xml b/OpenKeychain/src/main/res/layout/passphrase_dialog.xml index ebc5615e4..f003e6994 100644 --- a/OpenKeychain/src/main/res/layout/passphrase_dialog.xml +++ b/OpenKeychain/src/main/res/layout/passphrase_dialog.xml @@ -1,57 +1,53 @@ + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:orientation="vertical"> - + + + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" + android:imeOptions="actionDone" + android:inputType="textPassword" + android:hint="@string/label_passphrase" + android:ems="10" + android:layout_gravity="center_horizontal" /> - + - - - - - - + + style="?android:attr/progressBarStyle" + android:layout_gravity="center_horizontal" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + + + \ No newline at end of file diff --git a/OpenKeychain/src/main/res/layout/passphrase_repeat_dialog.xml b/OpenKeychain/src/main/res/layout/passphrase_repeat_dialog.xml index eb72ada03..3a19dd452 100644 --- a/OpenKeychain/src/main/res/layout/passphrase_repeat_dialog.xml +++ b/OpenKeychain/src/main/res/layout/passphrase_repeat_dialog.xml @@ -1,10 +1,10 @@ - + android:paddingRight="16dp"> - + - + - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file