It's interesting how intuitions vary :) It seems immediate to me, it's a consequence of the fact that views don't exceed their fixed dimensions and weightings mop-up free space.
Tom. 2009/10/20 David Given <d...@cowlark.com> > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Tom Gibara wrote: > > Try setting the width of every child in your LinearLayout to 0, and their > > weights to 1. > > Yup, that works. Thanks! > > (But good grief, it's hardly intuitive. I'd have never have thought of > that on my own.) > > - -- > ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── > │ "There is nothing in the world so dangerous --- and I mean *nothing* > │ --- as a children's story that happens to be true." --- Master Li Kao, > │ _The Bridge of Birds_ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iD8DBQFK3jLyf9E0noFvlzgRAmLtAJ9D6phS5Cs8vRukoC/AsCsmiK9IfgCeLtwT > fvOEtp7dqbCW57iuYOEWYfM= > =zEWM > -----END PGP SIGNATURE----- > > > > -- Tom Gibara email: m...@tomgibara.com web: http://www.tomgibara.com blog: http://blog.tomgibara.com twitter: tomgibara --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---