I had implemented auto-suggestion functionality using MultiAutoCompleteTextView successfully and everything is working fine except i'm not able to display auto-suggestion list above the soft-keyboard.
Android Gmail app has the same functionality. [see below image]
Question:
I want the exact functionality, want to a display a suggestion list on
the soft-keyboard but i don't have any clue how to achieve this. My
suggestion list is always hidden behind the soft-keyboard.
How to show auto-suggestion list above the soft-keyboard like Gmail
app?
I had tried playing with different android:imeOptions and different xml attributes and did a lot of searching but nothing helped.
Is there any public Api or XML attribute is available to do so?
Does anyone have any clue or idea about how to achieve this.
Code Structure : My fragment opens an AlertDialog which contains MultiAutoCompleteTextView where i'm implementing auto-suggest.
Any help or suggestion which leads to the right direction, would be greatly appreciated.
Related
I am making a keyboard with custom images which i have to "copy to clipboard" when clicked. I have followed this tutorial for making a working keyboard. On press a key i am also able to change keyboard layout. Now i want to change background and font of each keys of keyboard and also i want to add given images in gridview. I googled things but couldn't find the perfect one.
Any link for tutorial will also appreciated.
Thanks in advance.
I am trying to implement a group-like thing in my app. So I was trying to create the "Create Group" view. It is really simple - Just 2 EditTexts and one button for confirmation. And a ListView showing the suggested users based on what you type.
But for the second EditText, I am trying to implement something like the one in Facebook Messenger and Hangouts: It is like an EditText but it has custom views in it (not just plain text) listing the users which you added.
I found someone who asked a similar question here: How do I achieve a Facebook Messenger/ Google Hangouts like layout to preview selected items in search bar on ANDROID?
But I have no idea how to use the class in the answer.
Could anyone help? Thank you!
I have used this forum when I didn't know how to do something, but now I have decided to begin participating in it.
I would like to know how could I do a dropdown text (maybe it has a specific name and that's why I don't find any results on the internet). I mean, I have some tags in the screen (About, Company, Contact, ...). Each of these tags has a down arrow on the right side, and when I click it, it has to display (and hide if it's clicked again).
Here are the links with the images of what I want to do.
http://i45.tinypic.com/4fzoso.png
http://i47.tinypic.com/2u5886q.png
Thank you in advance!
You should use an ExpandableListView component.
There is a tutorial for it here.
Finally I did it with ImageViews and TextViews using the property android:visibility. Now that it's a static version is working properly. I hope that it continues working well when taking the information from the DB
I am trying to figure out how to make a customized android keyboard. I want additional keys in the keyboard like page up, page down, etc. I want these keys to perform the actions that I want them to do. For example,
http://www.addictivetips.com/mobile/hackers-keyboard-is-a-full-5-row-on-screen-keyboard-for-android/
Have a look at the above provided keyboard layouts. How can i do this? Any useful pointers??
Thank you in advance,
Mohsin
You need to create an input method.
Read more about it here, here and here.
Hello
In my android application i am using a webview to display apage of contents .
What i require is like if the user longpress on a word then that particular word should be highlighted and should be highlighted even if the user reloads the app again.
Is there any way that i can get this done in android.
Please forward your valuable suggestions.
Thanks in advance:)
Putting it in a WebView is what will make this tricky, if it were just a regular view I would say extend TextView and implement onLongClickListener for it as well. Not sure how to squeeze this into an existing webview though :/