aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml
diff options
context:
space:
mode:
authormar-v-in <github@rvin.mooo.com>2014-07-06 02:10:35 +0200
committermar-v-in <github@rvin.mooo.com>2014-07-06 02:10:35 +0200
commit1b0666e9de5caea14997a3e638a6209b45c97d60 (patch)
tree5062c61342a65aa0c1e49423dc2510ce43cbcf08 /OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml
parent51a4b0466ba1e1c1c72d9d8112c28628d1efc84b (diff)
downloadopen-keychain-1b0666e9de5caea14997a3e638a6209b45c97d60.tar.gz
open-keychain-1b0666e9de5caea14997a3e638a6209b45c97d60.tar.bz2
open-keychain-1b0666e9de5caea14997a3e638a6209b45c97d60.zip
Many changes to file ... and still incomplete
- Multi file - Reworked UI
Diffstat (limited to 'OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml74
1 files changed, 34 insertions, 40 deletions
diff --git a/OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml b/OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml
index 89381e499..699f991a7 100644
--- a/OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml
+++ b/OpenKeychain/src/main/res/layout/encrypt_symmetric_fragment.xml
@@ -1,52 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/modeSymmetric"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
+ android:stretchColumns="1"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
- android:orientation="vertical">
+ android:layout_centerVertical="true">
- <TableLayout
- android:id="@+id/modeSymmetric"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:stretchColumns="1"
- android:layout_centerVertical="true">
+ <TableRow>
- <TableRow>
+ <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" />
- <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/passphrase"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textPassword" />
+ </TableRow>
- <EditText
- android:id="@+id/passphrase"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="textPassword" />
- </TableRow>
+ <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" />
- <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>
-</RelativeLayout> \ No newline at end of file
+ <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