public void showKeyboard(final EditText et){
Timer timer = new Timer();
timer.schedule(new TimerTask() {
public void run() {
et.setFocusable(true);
et.setFocusableInTouchMode(true);
et.requestFocus();
InputMethodManager inputManager = (InputMethodManager) et.getContext()
.getSystemService(Context.INPUT_METHOD_SERVICE);
inputManager.showSoftInput(et, 0);
}
}, 300);
}