On Wed, Sep 15, 2010 at 1:42 PM, niko20 <nikolatesl...@yahoo.com> wrote: > It also would have been more useful if Android would have allowed > percentage size entries like HTML does, so you could say "80%" width -
It does. Use LinearLayout with android:layout_weight="80". Just make sure that: -- everything in that layout has their weights sum to 100 -- it works best if everything in that layout (horizontal or vertical) has their dimension (width or height) set to 0px > that way the layout would always come out correct on larger screen > differences.... Oh, I wouldn't say that. It may be mathematically correct, but UX isn't all about math. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy -- 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