This seems straightforward, but I can\'t figure out how to do it. I have a horizontal layout with an EditText and two ImageButtons. I want the ImageButtons to be of a fixed si
If you want to keep the layout the same (ie, buttons after the text), use the layout_weight
property, along with fill_parent
, thus:
Giving the EditText
'weight' makes it get figured out last and gives precedence to the buttons. Play with the different layout_weights and see how much fun you can have!