Android Input Method features you can enable in a Editable View to improve the integration with your application.
Questions tagged [imeoptions]
60 questions
3
votes
0 answers
IME options not working for Custom edittext
Here i create a custom edittext using the following code. Now i face a strange problem,when i try to put IME option to overide the enter button and change its functionality to send, i cant achieve that option. Somebody please help me with this.…

Ranjith
- 343
- 1
- 4
- 17
2
votes
0 answers
android:imeOptions="actionNext" in RecyclerView
I have a recyclerView with edittexts. I want to implement android:imeOptions="actionNext" for all editttexts
in recyclerView, however it is working only for views which are in the same viewHolder. But I want to do it for all my recyclerView. How…

Okan Serdaroğlu
- 358
- 2
- 7
2
votes
2 answers
AndroidX: Set Enter key to validate EditTextPreference dialog box
I'm trying to make a preference screen with AndroidX, but I'm encountering a small problem...
When I validate my entry with the "OK" button on the virtual keyboard, the preference is not validated. (keyboard is hidden, that's all...)
With AndroidX,…

A-Nicoladie
- 276
- 2
- 11
2
votes
1 answer
How to trigger a event when user press done button in keyboard
I want to trigger an event when the user clicks done button in android keyboard
For Example: In login activity when I enter the password and press done button at right bottom corner of keyboard it close the keyboard and then I press the login…
user7425922
2
votes
3 answers
Android ime options not working
I am trying to set up a listener for the android ime options, that stores the value of the EditText in the shared preferences. I have it set up like so, but when I press the "return" key on my keyboard, nothing happens and it never goes into the…

Rafa
- 3,219
- 4
- 38
- 70
2
votes
2 answers
actionNext(or any ImeOption) doesn't work on my Edittext, also I can't select any other text field when this particular one is selected
This is such a confusing behavior to me, and I can't find anyone else with exactly my problem.
I am trying to create a login activity, and so far the username-field is giving me a lot of trouble. The textfield stays focused no matter what.
It…

Ntikki
- 293
- 3
- 15
2
votes
1 answer
Change "Done" button in Android numeric keyboard
I have an EditText in Android configured for the number keyboard, and I would like the keyboard's button to say "next", while mine is saying "done".
How can I change that?
I already tried:

user2527666
- 433
- 5
- 14
2
votes
1 answer
Keyboard with search icon
I have a SearchActivty in my application on which I have an EditText and a Button to search the items. I want the search icon to be displayed in keyboard for this EditText.
Right now I've imeOption = "actionSearch" inside my EditText layout which is…

AndyN
- 1,742
- 1
- 15
- 30
1
vote
1 answer
why imeOptions in my Edit text stops work
ImeOptions in my EditText stops work before add WindowCompat.setDecorFitsSystemWindows(window, false);
when expanding the frame, the ImeOptions in EditText stops working and I can't see what I'm typing
Here are the examples:
Before
After
I set the…

Orest
- 27
- 6
1
vote
3 answers
How to specify digits and imeOptions together in XML of Android Studio?
In Android EditText I found a strange issue. I have put android:imeOptions="actionNext" and it worked correctly but when I specified digits as android:digits="abcdefghijklmnopqrstuvwxyz " I haven't Next option in the edit text. Why does it happen…

MMG
- 3,226
- 5
- 16
- 43
1
vote
1 answer
android:imeOptions="actionNext" not working
I am creating signup page but and adding next button to every TextInputEditText and it is working perfectly without any issue,
but whenever I add android:digits="0123456789qwertzuiopasdfghjklyxcvbnm_ " in layout then it doesn't work.
What will be…

Amin Pinjari
- 2,129
- 3
- 25
- 53
1
vote
1 answer
android:imeOptions="actionNext" does not go to the next EditText
I have encountered a strange behaviour of android:imeOptions="actionNext". When I press next on the keyboard it actually navigates out of the AutoCompleteEditText but doesn't focus on the next one. I am using the same setting for my other EditTexts…

Petr Ungar
- 21
- 3
1
vote
1 answer
Changing imeOptions from a text watcher
I am trying to change the imeOptions from a textwatcher, On detecting "@" symbol on a edittext I need to change its imeOptions from "Go" to "Done". Please advice.
etSample.addTextChangedListener(new TextWatcher() {
@Override
public…

Sudhi
- 403
- 4
- 8
1
vote
1 answer
Set the button to Done instead of Go in EditText
I'm trying to switch the button in the softkey from "Go" to "Done" and vice-versa.
If I just set the imeoption
private fun showDoneOnSoftKeyboard() {
setImeOptionsOnSoftKeyboard(EditorInfo.IME_ACTION_DONE)
}
private fun showGoOnSoftKeyboard()…

kingston
- 11,053
- 14
- 62
- 116
1
vote
1 answer
android:imeOptions="actionNext" is not working when android:inputType="textCapWords"
actionNext is not working when
android:inputType="textCapWords"
but its working in
android:inputType="text"
Can some one help to fix this
Below you can see my code

Anil
- 1,605
- 1
- 14
- 24