1
How to set a size for text box EditText
to make a square
1
How to set a size for text box EditText
to make a square
1
Try to do this:
final LayoutParams layoutParams = new LayoutParams(50,50); // Largura, Altura
seuEditText.setLayoutParams(layoutParams);
Browser other questions tagged android xml
You are not signed in. Login or sign up in order to post.
Define the
layout_width
equal tolayout_height
doesn’t work? Or you want it to be square to any dimension (variable)?– Wakim