Yes, that's expected behavior for fill_parent. It "fills" what's left in the parent which means it pushes other things out of view. I think you could accomplish what you want by specifying a layout_weight on button 2.
On Apr 6, 8:46 am, Rahul <[EMAIL PROTECTED]> wrote: > ok i am having trouble with my current layout. I want to set this up > so that there are 3 buttons on one line. > The first button on the left should be a set width, and the second > button should fill the remaining space, and the third button should be > a set width. > > basically this- > button 1 button 2 button 3 > XXX=======================XXX > ________________________________ > full width of android window > > right now I am using a LinearLayout but the problem is once we set > button 2 to fill_parent, button 3 never shows up --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

