I am working on an app which is in landscape mode.
When I open default keyboard programmatically it does not consume any input events in landscape mode (opens keyboard but does not show any preview of keyboard click). But if I open default keyboard in portrait it opens keyboard & shows the preview of a key on which I click i.e it works as expected in portrait mode.
I don't know why it is not accepting inputs in landscape mode.
Here is how I am opening the keyboard.
final InputMethodManager inputMethodManager = (InputMethodManager) mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
inputMethodManager.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
Also, if I specify flags called InputMethodManager.SHOW_IMPLICIT it does not even show the keyboard.