From 2fda5bfc9792d1150c14bef3ff1716162722e878 Mon Sep 17 00:00:00 2001 From: Bahtiar `kalkin-` Gadimov Date: Tue, 24 Sep 2013 13:16:02 +0200 Subject: Fixed 140 - Multiline Entries in KeyServerQueryActivity * EditText is now singleLine and has a hint * EditText has set inputType=text and imeOptions=actionSearch * Implemented listener for the actionSearch event * Reformated the source code according to the project specification. Sorry for the diff mess :-/ Signed-off-by: Bahtiar `kalkin-` Gadimov --- .../res/layout/key_server_query_layout.xml | 27 ++++++++++++---------- 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'OpenPGP-Keychain/res/layout') diff --git a/OpenPGP-Keychain/res/layout/key_server_query_layout.xml b/OpenPGP-Keychain/res/layout/key_server_query_layout.xml index 6af4f3644..610cf82ba 100644 --- a/OpenPGP-Keychain/res/layout/key_server_query_layout.xml +++ b/OpenPGP-Keychain/res/layout/key_server_query_layout.xml @@ -1,5 +1,6 @@ - - + android:orientation="vertical" > + android:layout_height="wrap_content" /> + android:orientation="horizontal" > + android:layout_weight="1" + android:hint="@string/hint_secretKeys" + android:imeOptions="actionSearch" + android:inputType="textNoSuggestions" + android:singleLine="true" />