Tre, You are right about LinearLayout being able to lay out its views vertically, but it does so top to bottom.
The OP seems to want his buttons to be pushed to the bottom of the enclosing layout, and I think that for that case, a RelativeLayout with layout_alignParentBottom (specifies from code) is a better, perhaps only option. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 10.09.2010 0:31 пользователь "TreKing" <treking...@gmail.com> написал: 2010/9/9 Kostya Vasilyev <kmans...@gmail.com> > > I don't think you can push views to the bottom of a LinearLayout, either with XML or from code. Sure you can, that's exactly what LinearLayout is for - a simple sequential list of views. I currently use LinearLayout that gets items (rows) added dynamically, top to bottom, by simply calling addView() and it works divinely. OP, you may want to post a picture of what you hope to accomplish. I, for one, am having trying to picture what you're trying to achieve with a vertical list of CheckBoxes. ------------------------------------------------------------------------------------------------- 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 android-developers@googlegroups.com To unsubscribe from this gr... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en