How to set a size for the textbox of EditText
to be a square
How to set a size for the textbox of EditText
to be a square
Try this:
final LayoutParams layoutParams = new LayoutParams(50,50); // Largura, Altura
seuEditText.setLayoutParams(layoutParams);