It will work only if the sum of the weights is 100. On Oct 8, 2009 1:28 PM, "Mark Murphy" <[email protected]> wrote:
> Is it possible to create a horizontal LinearLayout where we specify > how wide percentage-wise ea... I don't know about through Java, but you should be able to achieve a similar effect with android:layout_width (set them all to 0px) and android:layout_weight (use your integer percentages here). -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are s... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

