Good sir, try this:
edittext.setFocusableInTouchMode(true);
edittext.requestFocus();
Im not sure, but this might be required on some phones (some of the older devices):
![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
finalInputMethodManager inputMethodManager =(InputMethodManager) context
.getSystemService(Context.INPUT_METHOD_SERVICE);
inputMethodManager.showSoftInput(edittext,InputMethodManager.SHOW_IMPLICIT);
http://stackoverflow.com/questions/8080579/android-textfield-set-focus-soft-input-programmatically