aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-09-07 16:14:48 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2014-09-07 16:14:48 +0200
commit02663de191e58d3349628fe4e944147ffdc72bc0 (patch)
treeb814ac80b5ceac6d05e4bfe1e5350d34d422e89d /OpenKeychain
parent27772d401c8cebfd536ea745cb2403b4158de5d2 (diff)
downloadopen-keychain-02663de191e58d3349628fe4e944147ffdc72bc0.tar.gz
open-keychain-02663de191e58d3349628fe4e944147ffdc72bc0.tar.bz2
open-keychain-02663de191e58d3349628fe4e944147ffdc72bc0.zip
Better symmetric encryption layout
Diffstat (limited to 'OpenKeychain')
-rw-r--r--OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml61
1 files changed, 23 insertions, 38 deletions
diff --git a/OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml b/OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml
index 699f991a7..c77eea985 100644
--- a/OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml
+++ b/OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml
@@ -1,46 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
-<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/modeSymmetric"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:stretchColumns="1"
- android:paddingTop="4dp"
- android:paddingBottom="4dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
- android:layout_centerVertical="true">
+ android:orientation="vertical">
- <TableRow>
+ <EditText
+ android:id="@+id/passphrase"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:layout_marginBottom="8dp"
+ android:imeOptions="actionNext"
+ android:inputType="textPassword"
+ android:hint="@string/label_passphrase"
+ android:ems="10"
+ android:layout_gravity="center_horizontal" />
- <TextView
- android:id="@+id/label_passphrase"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingRight="8dp"
- android:text="@string/label_passphrase"
- android:textAppearance="?android:attr/textAppearanceMedium" />
+ <EditText
+ android:id="@+id/passphraseAgain"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="8dp"
+ android:inputType="textPassword"
+ android:hint="@string/label_passphrase_again"
+ android:ems="10"
+ android:layout_gravity="center_horizontal" />
- <EditText
- android:id="@+id/passphrase"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="textPassword" />
- </TableRow>
-
- <TableRow>
-
- <TextView
- android:id="@+id/label_passphraseAgain"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingRight="8dp"
- android:text="@string/label_passphrase_again"
- android:textAppearance="?android:attr/textAppearanceMedium" />
-
- <EditText
- android:id="@+id/passphraseAgain"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="textPassword" />
- </TableRow>
-</TableLayout> \ No newline at end of file
+</LinearLayout> \ No newline at end of file