From cf51e5ff56070bbec52c70b36f4109484e84adb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Thu, 13 Mar 2014 18:53:21 +0100 Subject: XML cleanup and bigger filename EditText --- .../src/main/res/layout/decrypt_activity.xml | 317 +++++++++++---------- .../src/main/res/layout/encrypt_activity.xml | 13 +- .../src/main/res/layout/file_dialog.xml | 4 +- 3 files changed, 173 insertions(+), 161 deletions(-) diff --git a/OpenPGP-Keychain/src/main/res/layout/decrypt_activity.xml b/OpenPGP-Keychain/src/main/res/layout/decrypt_activity.xml index a974f6ec0..25c7c000c 100644 --- a/OpenPGP-Keychain/src/main/res/layout/decrypt_activity.xml +++ b/OpenPGP-Keychain/src/main/res/layout/decrypt_activity.xml @@ -5,201 +5,206 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - + - + + + android:id="@+id/relativeLayout"> - - - - - - - - - - + android:src="@drawable/signed_large" /> - + android:src="@drawable/overlay_error" /> - + + + android:layout_gravity="left" + android:text="@string/label_main_user_id" + android:textAppearance="?android:attr/textAppearanceMedium" + android:layout_toRightOf="@+id/relativeLayout" /> - + + - + - + + + + + + + + + + + + - + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="4dp"> + android:layout_height="wrap_content" + android:orientation="horizontal"> + android:id="@+id/filename" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="top|left" + android:inputType="textMultiLine|textUri" + android:lines="4" + android:maxLines="10" + android:minLines="2" + android:scrollbars="vertical" /> + + + android:layout_height="wrap_content" + android:orientation="horizontal"> - - - - - - - - - - - + android:layout_gravity="center_vertical" + android:text="@string/label_delete_after_decryption" /> - + + - + - + - - + - + + diff --git a/OpenPGP-Keychain/src/main/res/layout/encrypt_activity.xml b/OpenPGP-Keychain/src/main/res/layout/encrypt_activity.xml index dc4cf0063..4fe65e341 100644 --- a/OpenPGP-Keychain/src/main/res/layout/encrypt_activity.xml +++ b/OpenPGP-Keychain/src/main/res/layout/encrypt_activity.xml @@ -238,7 +238,12 @@ android:layout_width="0dip" android:layout_height="wrap_content" android:layout_weight="1" - android:inputType="textNoSuggestions" /> + android:gravity="top|left" + android:inputType="textMultiLine|textUri" + android:lines="4" + android:maxLines="10" + android:minLines="2" + android:scrollbars="vertical" /> + + fontawesometext:fa_icon="fa-chevron-right" /> + + android:textColor="@color/emphasis" /> -- cgit v1.2.3