EditText snippet