How can I get single integer number using edittext : I set edittext inputtype properties to number and maxlength  to 1
I have tried some  options 
EditText u1 = (EditText) findViewById(R.id.show_EditText);
Int check = integer. Parseint(u1.getText().toString());