I saw different questions on the subject, but not exactly what I'm looking for. The question is: how to foce the IME to show up in full screen (extract) mode when editing a particular edit text? What I want is the IME to behave as it sees fit, except for that particular edit text, which I need the IME to go full screen on it.
I have tried the following, but that doesn't do it:
mEditText.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@Override
public void onFocusChange(View v, boolean hasFocus) {
if (hasFocus) {
InputMethodManager input = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
if(input != null) {
input.showSoftInput(mEditText, InputMethodManager.SHOW_FORCED);
}
}
}
});
Aside the 'why I'm doing this', any idea? I thought I could start an activity with a single edit text in it, but I'd prefer to use the IME's capabilities. Thanks.