android edittext input type time code example Example: android java text fields EditText usernameEditText = (EditText) findViewById(R.id.Plain textid);