New soft-keyboard
I have one question:
How can I select what soft-keyboard an edittext will load?
Thanks
Asked by: Grace848 | Posted: 25-01-2022
Answer 1
The user chooses the input method editor (IME). You can configure the IME somewhat via android:imeOptions
and android:inputType
attributes in your layout XML.
Answer 2
The InputType of the editText determines which keyboard is shown. See Input Type
Answered by: Jared538 | Posted: 26-02-2022Similar questions
layout - Issues with Android soft-keyboard interaction
I am designing an Android app and I'm having a couple of layout issues.
I have a screen with 3 EditTexts on it in a row, and I would like for the 'next' key on the soft keyboard to cycle between the EditText fields. As for now, the 'next' key has no effect.
Also, when the soft keyboard is displayed, it covers up the third of the EditTexts. Is there any way to push up the layout in the event that the soft ...
android - Is there a way to tell if the soft-keyboard is shown?
is there a way to tell if the softkeyboard is shown in an activity or not?
I tried
InputMethodManager manager = (InputMethodManager)
getSystemService(getApplicationContext().INPUT_METHOD_SERVICE);
manager.isActive(v)
but isActive returns false only before the first time the keyboard is shown, but if the kb appears and then dismissed, isActive ret...
Forcing the default Android soft-keyboard to show
I have an activity (forced into protrait mode) that is required to show the default soft-keyboard. So I thought I'd set focus to the edittext when the activity is launched... so far so good.
Two issues
the soft-keyboard shall not be
dismiss-able for this activity
the soft-keyboard needs to be
elevated 50 pixels from the bottom
of the screen
Looking for assistan...
android - How to catch soft-keyboard input
I need an help:how can i catch input from soft-keyboard? Now I catch it with an edit text, but i don't like this solution. There are other methods?
Thanks for any answers.
Bye
android - Soft-keyboard appears every time layout becomes visible
I have two layouts within a fragment that I switch back and forth between by making one invisible and the other visible and visa versa. When the layout that contains an EditText becomes visible the soft keyboard automatically pops up. I have used the following in the manifest but it didn't help.
android:windowSoftInputMode="stateUnchanged"
I never explicitly request focus on the EditText...
Android: ListView reverses the items when soft-keyboard appears
I have a custom ListView with a CheckBox and two EditTexts. A strange thing happens when I click a EditText and the soft-keyboard appears: the items in the ListView reverses the original order. When I debugged, I saw that getView() of the custom ArrayAdapter is called when the soft-keyboard appears. Then I think the ListView is redrawn everytime the soft-keyboard appears. It's ok, but why do it reverses the order of items?...
layout - Android 3: Simulating the behaviour of a soft-keyboard for a virtual piano keyboard
I work on a synthesizer where I would like to have a keyboard/piano displayed that the user can toggle on or off in any activity of the synthesizer to play keys. The best solution would be if it would behave like the normal softkeyboard, that means, I would like the "virtual piano" to resize the current activity to be a little bit smaller in it's height, so that the keyboard doesn't occupy relevant areas (every activity is...
android - Phone-like only numbers soft-keyboard
I'd like to have a phone-like soft-keyboard that allows to input ONLY numbers.
I can achieve the "only numbers" thing with inputType="number" (where the soft-keyboard is as default but allows only numbers as input) and the phone-like style with inputType="phone". But when put together like number|phone even if the style is the phone-like one, the soft-keyboard allows for symbols other than numbers.
I wa...
android - HTML 5 input type "number" with step="any" => No decimal separator on Chrome Soft-Keyboard
I would like to have a HTML 5 Input Element like:
<input type="number" step="any" value="3.5"/>
This works fine on my iPhone Safari Browser but not on Chrome for Android.
It shows the right Soft-Keyboard, but not the decimal separator. So I'm not
able to enter any decimal places.
Are there e.g. any JavaScript tweaks that make the chrome browser show the
right keyboard?
android - how to implement this soft-keyboard effect in a listView
I would like to find out more about that feature to implement it in a listview for each item.
so, how is called the event responsible to show the popups in the soft-keyboard when the finder is moved over the keys without untouching it like the GIF below?
Assuming the keys A, S, and D are items of listview oriented ver...
Still can't find your answer? Check out these communities...
Android Google Support | Android Community | Android Community (Facebook) | Dev.io Android