From 42d22abfbc999699ce8441fc4ffa1af4a6c35ddd Mon Sep 17 00:00:00 2001 From: Zeapo Date: Wed, 6 Aug 2014 16:43:37 +0100 Subject: encryption working with a temporary hack (default account) --- app/src/main/res/layout/decrypt_layout.xml | 2 +- app/src/main/res/layout/encrypt_layout.xml | 135 +++++++++++++++++++---------- 2 files changed, 88 insertions(+), 49 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/decrypt_layout.xml b/app/src/main/res/layout/decrypt_layout.xml index 8612ce3b..b1f97e7d 100644 --- a/app/src/main/res/layout/decrypt_layout.xml +++ b/app/src/main/res/layout/decrypt_layout.xml @@ -36,7 +36,7 @@ android:background="@android:drawable/screen_background_light_transparent" android:layout_gravity="center_vertical" android:visibility="invisible" - android:onClick="decrypt" + android:onClick="handleClick" android:layout_column="2" android:layout_row="0"/> diff --git a/app/src/main/res/layout/encrypt_layout.xml b/app/src/main/res/layout/encrypt_layout.xml index ca891d31..c4949c9a 100644 --- a/app/src/main/res/layout/encrypt_layout.xml +++ b/app/src/main/res/layout/encrypt_layout.xml @@ -1,84 +1,123 @@ - - + android:layout_height="fill_parent" + tools:context="com.zeapo.pwdstore.crypto.PgpHandler"> - - + android:background="@drawable/rectangle" + android:orientation="horizontal" + android:layout_row="1" + android:layout_column="0"> - + + + + - + android:layout_row="2" + android:layout_column="0"> + android:orientation="vertical"> + + + + + + + android:text="Extra content: "/> + + - + + android:layout_width="wrap_content" + android:src="@android:drawable/ic_input_add" + android:background="@drawable/oval" + android:id="@+id/crypto_confirm_add" + android:onClick="handleClick" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" /> - - - + android:layout_width="wrap_content" + android:src="@android:drawable/ic_delete" + android:background="@drawable/oval" + android:id="@+id/crypto_cancel_add" + android:onClick="handleClick" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" /> + - + + -- cgit v1.2.3