I use a radio button to display an editText which has a numeric input. I wish to display the numeric keypad and have tried a number of ideas from the web without success.
EditText e = (EditText) findViewById(R.id.input1);
case R.id.radio_down:
if (checked) {
e.setVisibility(View.VISIBLE);
e.selectAll();
/* InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.showSoftInput(view, InputMethodManager.SHOW_IMPLICIT);
*/
e.setInputType(InputType.TYPE_CLASS_NUMBER);
e.setFocusableInTouchMode(true);
e.requestFocus();
}