Android Input Method features you can enable in a Editable View to improve the integration with your application.
Questions tagged [imeoptions]
60 questions
111
votes
11 answers
imeOptions "actionNext" programmatically - how to jump to next field?
In layout XML it is possible to specify android:imeOptions="actionNext" which adds Next button in virtual keyboard and by clicking on it - focus jumps to the next field.
How to do this programmatically - e.g. based on some event trigger focus to go…

Laimoncijus
- 8,615
- 10
- 58
- 81
45
votes
9 answers
Android imeOptions="actionDone" not working
I am trying to get a login screen for an Android app and so far this is my code:
…

Mak
- 894
- 2
- 8
- 24
31
votes
4 answers
How to implement Multiline EditText with ActionDone button (without Enter button)
I have EditText which is used for entering contents on messages (emails, sms). I want message to be immediately posted on ActionDone button click. I use following code for this:
message.setOnEditorActionListener((textView, i, keyEvent) -> {
…

Ruslan
- 1,039
- 1
- 9
- 16
21
votes
9 answers
Keyboard hiding EditTexts in Fragments
edit:
I need to use the keyboard, but it hides my EditText, I need it to scroll so the keyboard is not hiding it.
I am using a Samsung tablet.
My style:
parent="android:Theme.Holo.NoActionBar.Fullscreen"
The EditText fields are in a scrollable…
user3956566
19
votes
5 answers
Edittext imeOptions actionDone not working with digits attribute?
I have an Editext . It contains attribute digits and imeOptions (actionDone) together.

Tijo Joseph
- 231
- 2
- 7
10
votes
2 answers
Listview with edittext - auto scroll on "next"
I have a ListView with one EditText on each row (in addition to a couple of non-editable TextView's). When I'm editing the text in the EditText, the soft keyboard has "Next" button - and pressing it moves the focus to the next field - this is…

Aleks G
- 56,435
- 29
- 168
- 265
8
votes
3 answers
Updating ImeOptions of the current focused EditText
I have an EditText with the ImeOptions set to EditorInfo.IME_ACTION_NEXT. So the "Next" button is displayed on the keyboard when the field is focused.
I want the button to change for "Done" WHILE the user is typing (for some reasons).
So I have a…

Eselfar
- 3,759
- 3
- 23
- 43
6
votes
4 answers
EditText input method action not working when setting imeActionLabel
I have an Edittext with imeoptions asactiongo. and I triggered my event when pressing soft keyboard enter button.
mModelId.setOnEditorActionListener(new OnEditorActionListener() {
@Override
public boolean onEditorAction(TextView v,…

NIPHIN
- 1,071
- 1
- 8
- 16
4
votes
0 answers
imeOptions doesn't work with MultiLine text?
Trying to add the attribute android:imeOptions="actionSend" on my EditText, and I want the text to adjust and create new lines as the user types. I get multiple lines when I add:
inputType="textMultiline", however, I do not get the send button for…

hermt2
- 844
- 3
- 14
- 33
4
votes
3 answers
How to use more then one imeOptions in android
Is it possible to use more then 1 imeOptions in Android xml ? for the same text field.
e.g.
Right now it is giving me an error, saying…

Android
- 171
- 1
- 4
- 16
3
votes
2 answers
imeOptions="actionSend" not working in material design
I would like to apply send action on my inputText keyboard, however I still see the default arrow, instead send button.
I also tried with several devices with different versions and the issue persists.
XML:
…

rafaelasguerra
- 2,685
- 5
- 24
- 56
3
votes
3 answers
android edittext inputType:textpassword not working with intputType:actionDone on some devices
I am not new to the use of EditText's inputType but now I am having issue when setting android:inputType="textPassword" beside using android:imeOptions="actionDone"
Device used is: LG G4 Android v6.0
Here is my…

blueware
- 5,205
- 1
- 40
- 60
3
votes
1 answer
imeOptions isn't working in an AutoCompleteTextView
I have a trouble. I'm working with Google Maps Api v2 and I created a basic toolbar like in Google Maps App. There I have an AutoCompleteTextBox on it.
The trouble is when I press the 'DONE' button (when the screen is in portrait mode), the…

Walter Bejar
- 33
- 4
3
votes
1 answer
actionNext & textMultiline not working
I want a Multiline EditText to allow imeOptions="actionNext".
This works, but only allows single line input
...
android:inputType="textCapSentences|textAutoCorrect"
android:imeOptions="actionNext"
...
This…

Michael
- 9,639
- 3
- 64
- 69
3
votes
3 answers
android EditText imeOption OnClick
With a Button it is simple,
this will preform the doSomething(View) function.
How can we mimic this with an EditText ?
I have read about this and i read that most…

MrMe TumbsUp
- 416
- 1
- 4
- 17