To use layout_weight, I need LinearLayout. I have so many other items placed in random order inside GridLayout. So, I am not able to use LinearLayout.
But my actual problem is GridLayout is not filling the screen width. Even if I give, layout_width as fill_parent for GridLayout... It only covers half of the screen as it has just 4 columns. How to make it cover the whole screen width?? Please help/ Regards, Shruthi. On Tue, Jan 10, 2012 at 8:06 AM, TreKing <[email protected]> wrote: > On Mon, Jan 9, 2012 at 3:36 AM, Shruthi Varma > <[email protected]>wrote: > >> I can achieve this by giving layout_weight in Linear Layout. >> But I have to use GridLayout as per my requirements. >> > > Use a LinearLayout inside a GridLayout. > Or change your requirements. > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

