diff options
author | Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de> | 2013-09-24 13:16:02 +0200 |
---|---|---|
committer | Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de> | 2013-09-24 14:01:15 +0200 |
commit | 2fda5bfc9792d1150c14bef3ff1716162722e878 (patch) | |
tree | bb7b7f6d2688f23b347c0cf75fe7d8c0595295ad /OpenPGP-Keychain/res/layout | |
parent | 224faa42ac855776a8494decfcac9d23dbfcec09 (diff) | |
download | open-keychain-2fda5bfc9792d1150c14bef3ff1716162722e878.tar.gz open-keychain-2fda5bfc9792d1150c14bef3ff1716162722e878.tar.bz2 open-keychain-2fda5bfc9792d1150c14bef3ff1716162722e878.zip |
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 <bahtiar@gadimov.de>
Diffstat (limited to 'OpenPGP-Keychain/res/layout')
-rw-r--r-- | OpenPGP-Keychain/res/layout/key_server_query_layout.xml | 27 |
1 files changed, 15 insertions, 12 deletions
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 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org> +<!-- + Copyright (C) 2010 Thialfihar <thi@thialfihar.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -14,40 +15,42 @@ limitations under the License. --> -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:orientation="vertical"> + android:orientation="vertical" > <Spinner android:id="@+id/keyServer" android:layout_width="fill_parent" - android:layout_height="wrap_content"/> + android:layout_height="wrap_content" /> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" - android:orientation="horizontal"> + android:orientation="horizontal" > <EditText android:id="@+id/query" android:layout_width="0dip" android:layout_height="wrap_content" - android:layout_weight="1"/> + android:layout_weight="1" + android:hint="@string/hint_secretKeys" + android:imeOptions="actionSearch" + android:inputType="textNoSuggestions" + android:singleLine="true" /> <Button android:id="@+id/btn_search" - android:text="@string/btn_search" android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - + android:layout_height="wrap_content" + android:text="@string/btn_search" /> </LinearLayout> <ListView android:id="@+id/list" android:layout_width="fill_parent" android:layout_height="0dip" - android:layout_weight="1"/> + android:layout_weight="1" /> -</LinearLayout> +</LinearLayout>
\ No newline at end of file |