diff options
author | Sreeram Boyapati <sreeram.boyapati2011@gmail.com> | 2014-03-10 08:31:53 +0530 |
---|---|---|
committer | Sreeram Boyapati <sreeram.boyapati2011@gmail.com> | 2014-03-10 08:31:53 +0530 |
commit | 7d2c3f860e4ce291a4607bee43d4a36ff0093989 (patch) | |
tree | 9c95fc3af6cc48a925ba59dd68caee2fa7fd5e84 /OpenPGP-Keychain/src/main/res/layout | |
parent | db05b3043ac1f1b5b350557fa851786b06ca223e (diff) | |
download | open-keychain-7d2c3f860e4ce291a4607bee43d4a36ff0093989.tar.gz open-keychain-7d2c3f860e4ce291a4607bee43d4a36ff0093989.tar.bz2 open-keychain-7d2c3f860e4ce291a4607bee43d4a36ff0093989.zip |
Fix to passphrase dialog and Issue #207
Diffstat (limited to 'OpenPGP-Keychain/src/main/res/layout')
-rw-r--r-- | OpenPGP-Keychain/src/main/res/layout/passphrase_repeat_dialog.xml | 8 | ||||
-rw-r--r-- | OpenPGP-Keychain/src/main/res/layout/select_secret_key_layout_fragment.xml | 23 |
2 files changed, 24 insertions, 7 deletions
diff --git a/OpenPGP-Keychain/src/main/res/layout/passphrase_repeat_dialog.xml b/OpenPGP-Keychain/src/main/res/layout/passphrase_repeat_dialog.xml index 2bdd231ee..ae523762c 100644 --- a/OpenPGP-Keychain/src/main/res/layout/passphrase_repeat_dialog.xml +++ b/OpenPGP-Keychain/src/main/res/layout/passphrase_repeat_dialog.xml @@ -6,7 +6,9 @@ android:paddingRight="16dp" android:stretchColumns="1" > - <TableRow> + <TableRow + android:layout_marginBottom="5dip" + > <TextView android:id="@+id/passphrase_label_passphrase" @@ -24,7 +26,9 @@ android:padding="4dp" /> </TableRow> - <TableRow> + <TableRow + android:layout_marginBottom="10dip" + > <TextView android:id="@+id/passphrase_label_passphrase_again" diff --git a/OpenPGP-Keychain/src/main/res/layout/select_secret_key_layout_fragment.xml b/OpenPGP-Keychain/src/main/res/layout/select_secret_key_layout_fragment.xml index 4a3cd3d28..9b92a373a 100644 --- a/OpenPGP-Keychain/src/main/res/layout/select_secret_key_layout_fragment.xml +++ b/OpenPGP-Keychain/src/main/res/layout/select_secret_key_layout_fragment.xml @@ -3,7 +3,7 @@ xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="horizontal" > + android:orientation="vertical" > <com.beardedhen.androidbootstrap.BootstrapButton android:id="@+id/select_secret_key_select_key_button" @@ -28,28 +28,41 @@ android:paddingLeft="16dp" > <!-- Has been made focusable to display error messages with setError --> + <TextView + android:id="@+id/select_secret_key_master_key_hex" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="left" + android:textAppearance="?android:attr/textAppearanceMedium" + android:text="@string/api_settings_no_key" + /> <TextView android:id="@+id/select_secret_key_user_id" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="right" + android:layout_gravity="left" android:ellipsize="end" android:focusable="true" android:focusableInTouchMode="true" android:singleLine="true" - android:text="@string/api_settings_no_key" - android:textAppearance="?android:attr/textAppearanceMedium" /> + android:visibility="gone" + android:text="" + android:textAppearance="?android:attr/textAppearanceSmall" /> <TextView android:id="@+id/select_secret_key_user_id_rest" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="right" + android:layout_gravity="left" android:ellipsize="end" android:singleLine="true" android:text="" + android:visibility="gone" android:textAppearance="?android:attr/textAppearanceSmall" /> + + + </LinearLayout> </LinearLayout>
\ No newline at end of file |