From cb8216b5878183005890a6deefde0797462de966 Mon Sep 17 00:00:00 2001 From: Zeapo Date: Sat, 2 Aug 2014 23:10:09 +0100 Subject: improved ui for decrypt/encrypt --- app/src/main/res/layout/activity_pgp_handler.xml | 71 +++----------- app/src/main/res/layout/decrypt_layout.xml | 115 +++++++++++++++++++++++ app/src/main/res/layout/encrypt_layout.xml | 82 ++++++++++++++++ 3 files changed, 211 insertions(+), 57 deletions(-) create mode 100644 app/src/main/res/layout/decrypt_layout.xml create mode 100644 app/src/main/res/layout/encrypt_layout.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_pgp_handler.xml b/app/src/main/res/layout/activity_pgp_handler.xml index ced0ec33..b5dfba53 100644 --- a/app/src/main/res/layout/activity_pgp_handler.xml +++ b/app/src/main/res/layout/activity_pgp_handler.xml @@ -24,73 +24,30 @@ android:id="@+id/crypto_password_file" android:layout_gravity="center_vertical" android:layout_marginLeft="8dp" - android:layout_column="0"/> + android:layout_column="0" + android:layout_row="0"/> - - - - - - - - - - - - - - + android:onClick="decrypt" + android:layout_column="2" + android:layout_row="0"/> - - + android:layout_column="0" + android:layout_row="2" + android:layout_columnSpan="3" /> - + diff --git a/app/src/main/res/layout/decrypt_layout.xml b/app/src/main/res/layout/decrypt_layout.xml new file mode 100644 index 00000000..8612ce3b --- /dev/null +++ b/app/src/main/res/layout/decrypt_layout.xml @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/encrypt_layout.xml b/app/src/main/res/layout/encrypt_layout.xml new file mode 100644 index 00000000..4efc049f --- /dev/null +++ b/app/src/main/res/layout/encrypt_layout.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3