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