Advertisement
Sketchware

Deixa letras do edittext maiusculo com clique

Jan 13th, 2023
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.15 KB | None | 0 0
  1. EditText editText = (EditText) findViewById(R.id.editText);
  2. String text = editText.getText().toString();
  3. text = text.toUpperCase();
  4. editText.setText(text);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement