Android Input Method features you can enable in a Editable View to improve the integration with your application.
Questions tagged [imeoptions]
60 questions
1
vote
2 answers
ImeOptions not working with AppCompatEditText
I have a fragment that contains EditText and I am trying to setup keyboard event but it doesn't seem to work. The actionId is always 0.

Coder
- 3,090
- 8
- 49
- 85
1
vote
2 answers
1
vote
0 answers
When l set the imeOptions as "flagNoExtractUi", it met a issue that the Softkeyboard keep invalid when in landscape mode
When set some language like Japanese, set the Edittext imeOptions as "flagNoExtractUi". In Portrait mode, the soft keyboard is normal, but when in landscape mode, the soft keyboard invalid.
When l changed the imeOptions as actionDone or actionNext,…

Liu Jing
- 11
- 2
1
vote
2 answers
Retaining focus on Edittext within OnFocusChanged Listener
I am trying to set up a system to validate user input, in this case, just checking that there is anything entered by the user.
I have a Utility class that checks that the EditText has data.
I am using an OnFocusChangeListener which then calls the…
user3956566
1
vote
2 answers
Android EditText imeOptions making the actionSearch act like actionDone?
I have a weird bug.
I have an EditText, and I'm performing a search with a TextWatcher, when I type 3 letters and above I am performing a search.
Until recently I had a normal EditText, and I want to have a Search Icon in my keyboard so I added my…

JozeRi
- 3,219
- 6
- 27
- 45
1
vote
1 answer
Change background color of Android edittext in extract mode (fullscreen)
The default behavior of an Android edittext is that when the user orients in landscape mode, the keyboard fills the screen and the input of the edittext fills the top part, with a "send" or "done" button next to it. All the user can see is the input…

Laurent
- 1,554
- 19
- 42
1
vote
1 answer
android:nextFocusDown doesn't work
I designed a layout with four EditText and i want to facilitate the navigation of them. I understand the use of android:nextFocusDown but i'm not able to get it to work. I also setted the ´ImeOptions´ to actionNext, but on the softpad I neither see…

Emaborsa
- 2,360
- 4
- 28
- 50
1
vote
3 answers
android:imeOptions not go to the exact next EditText
I have 2 EditText with id (et_1 and et_2) in a layout, and I set
for et_1
android:imeOptions="actionNext",
android:nextFocusForward="@+id/et_2"
when et_1 gets focus and the the software keyboard shows "Next", and when I click "Next", the focus…

BruceDu
- 280
- 3
- 8
1
vote
1 answer
Opening Keypad with GO
Hi I want to open keypad when the EditText is focused , with GO in place of Next and Done Buttons.
I used
android:imeOptions="actionGo"
in EditText xml tag but it's only showing an arrow not GO.
Thanks in advance

Neha Shukla
- 3,572
- 5
- 38
- 69
0
votes
1 answer
How to get "Done" to show and exit keyboard on AutoCompleteTextiView in Android?
My problem: I'm using an AutoCompleteTextView list of options for the user and despite having the activity xml setup with android:imeOptions="actionDone" the keyboard still provides a return option instead presenting the keyboard with the "Done"…

svstackoverflow
- 665
- 6
- 19
0
votes
2 answers
EditText onclick action only executed when refocussing the EditText
I am trying to create a simple editText for which I defined a simple onclick action that outputs the name to the window again.
My problem is, that it seems like this action is only called when I refocus the editText again.
So I focus the editText,…

Gerke
- 926
- 1
- 10
- 20
0
votes
1 answer
Android: imeOptions doesn't work despite using maxLines and inputType
I want the soft keyboard in my app to show Done when clicking on a particular EditText. This is how it looks

varunkr
- 5,364
- 11
- 50
- 99
0
votes
1 answer
Why is Setting ImeOptions to Next in custom renderer of Xamarin.forms not taking me to next field in Android
I have a form with a few fields in my app in Xamarin.Forms. I need to provide text "Next" on the android soft keyboard
and on tap of "Next" it should take me to next field.
My Code in customRenderer:
Control.ImeOptions =…

shilpajomon
- 45
- 6
0
votes
2 answers
imeOptions not working for CustomEditText
I need to set imeOptions on my CustomEditText.
But the imeOptions is not available.
My CustomEditText:
public class CustomEditText extends AppCompatEditText {
private Context context;
public CustomEditText(Context context) {
…

A.R.B.N
- 1,035
- 2
- 10
- 20
0
votes
0 answers
Does every imeOptions value have a default behavior besides closing the keyboard?
Some of the EditText's android:imeOptions values have a default behavior: actionNext jumps to the next input field, actionDone closes the soft keyboard and so on.
I know how to override the click behavior in Java, but I wonder if values like…

Florian Walther
- 6,237
- 5
- 46
- 104