Android xml: stretch an element and wrap the other, horizontally next to eachother

happy

New Member
Say I got one EditText and one Button next to each other horizontally. Left we got the EditText and right the Button. The thing is, I want the button to wrap it's content while the EditText stretches itself from the left of the screen all the way to the button. So the button is as small as possible (depending on button text) and the EditText is as wide as possible (depending on button size)I don't know if I've missed a simple trick... but how do I accomplish that?
 
Back
Top