It's a game named I'm MT3 ,developed by others...And I want to implement this feature,the custom input layout which contains a EditText and 2 buttons.
first,I'm using InputMethodManager to show the InputMethodManager , and this is my code snip below:
InputMethodManager imm = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE);
imm.toggleSoftInput(0, InputMethodManager.HIDE_IMPLICIT_ONLY);