Auto complete text remaining on screen - android

Does anyone know why the search text remains on the bottom of screen (as shown in image below). Steps to get there:
Choose to search for location
qwerty keyboard comes up
auto complete bar appears above qwerty
hit "Done" and the auto complete text remains on screen and relocates to bottom, but search is called
. This does not happen all the time.
With KeyEvent.ACTION_UP the search text "sticks" to screen when clicking "Done" ... goes directly to search
With KeyEvent.ACTION_MULTIPLE, "Done" closes the qwerty and user must click search button to begin search

If you want any word, I think the keyboard do that with predictive text. If only want a list of items ( only countries ) you should use a Spinner.

Related

How to tap a button with one touch, when keyboard is open (instead of 2)

I have the keyboard open in my app, I want the user to be able to type, and then tap a colour selector widget I have made (which changes text colour). The problem is that it takes 2 taps, the first one closes the keyboard, the second one actually selects my colour picker. Is there a way to make this one tap? and also keep the keyboard open if possible, so they can change colour then go back to typing without focus issues.

Android Autocomplete Textview suggestion list is hidden on down arrow

I want to use an autocompletetextview in my project. The problem I am facing right now is that when the user presses the down arrow on the keyboard, which normally closes the keyboard, the suggestion list is dismissed. The keyboard is being closed the second time the user presses the down arrow.
I want the keyboard to close, when the user presses the down arrow. The suggestion list should stay visible. How can you achieve something like that?

How to disable default keyboard on android device using action script 3

I have a problem in my android air project. I have a text box when i click on it the default keyboard of device will pop up from the bottom of the screen. But the text box which i clicked also will be on the bottom, hence when the keyboard pops up the text box is under the keyboard so my entered text will not be seen and also i don't want to shift the text box to the top of the screen. Please suggest any code for disabling the default keyboard so that i can use my own one where ever i want on the screen.
Thanks.
To stop a text input from requesting the Software Keyboard you should set your textinput.needsSoftKeyboard to false
See: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/InteractiveObject.html#needsSoftKeyboard

Edittext selection menu and soft keyboard

In my activity, I have a multiline EditText that takes a big space on the screen. When I click on it, I enter the edit mode and the soft keyboard shows up. So far so good
Now I want to select the text. So I long press on it, and the selection handles appear. The problem is that when I select multiple lines, the whole layout of the activity will be pushed up to be able to see the selection above the keyboard. But it also pushes up the selection menu that allows to interact with the selection (like Copy, Search, etc.), so the selection is useless!
So best solution would be to make sure the menu stays visible, alternative solution would be to hide the keyboard when selection happens so that nothing is being pushed up.!
As you can see on the screenshot, the menu is almost gone because the selection is right on top of the keyboard, but without the keyboard it should appear just fine

PhoneGap + Android page doesn't refresh after soft keyboard closes

Most of the time (but not always), when I finish typing in a or and the soft keyboard hides, the view area is left raised with a black space on the bottom. Clicking, tilting or otherwise engaging the phone corrects the screen. However, user's first motion is usually pressing , but if you click submit it jumps down and you actually just click on the text area again. How do you stop this and get the screen to reset after the keyboard closes.
Take a look at you AndroidManifest.xml
http://developer.android.com/guide/topics/manifest/activity-element.html
I think you need to change android:configChanges.
I have the exact same problem what i did was handle hidekeyboard even in javascript and do something like window.scrollTo(0,0) or $("input[type=text],textarea").blur();
This will cause the the screen to get back to normal position
But there is just one problem when click from input field of type = text to a input field password it internally hide the keyboard which causes the hidekeyboard event to fire and scrolls the screen to top. This is the only side effect of this
Let me know if you find the solution for this

Categories

Resources