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
Okay:
The key points of the layout are:
fill_parent
later in the file it only takes into account the remaining space, not all of the space it could possibly occupy if nothing else was therefill_parent
(match_parent
in 2.2+) so that it takes up the rest of the available spaceSorry didn't read your question will enough. The above code provides the answer if you want to do it in a vertical fashion. For a horizontal layout the code posted by @Sunil should work.