Android Input Method features you can enable in a Editable View to improve the integration with your application.
Questions tagged [imeoptions]
59 questions
99
votes
9 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,187
- 9
- 55
- 80
43
votes
8 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
- 836
- 2
- 9
- 21
27
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
- 748
- 1
- 7
- 14
20
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
14
votes
4 answers
Edittext imeOptions actionDone not working with digits attribute?
I have an Editext . It contains attribute digits and imeOptions (actionDone) together.
Tijo Joseph
- 181
- 1
- 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
- 52,841
- 25
- 149
- 233
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,446
- 2
- 19
- 40
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,043
- 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
- 754
- 1
- 11
- 29
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
- 4,309
- 1
- 32
- 59
3
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
- 195
- 2
- 14
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
- 8,464
- 2
- 59
- 62
3
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
- 151
- 1
- 3
- 16
3
votes
2 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
- 16
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
- 293
- 1
- 4
- 16