On Jul 9, 4:44 pm, Indicator Veritatis <[email protected]> wrote: > Let's hope there is a better solution! After all, setting layout_width > IS the layout manager's job.
Right... and the layout manager does set the width. You can do many things: 1. Set the layout_width to "fill_parent" to always have it as wide as the screen size. 2. Create more than one layout, and put them in different directories based on the screen attributes. http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources 3. Set the layout_width to a standard size, such as 100dip. Not recommended, honestly. 4. Use RelativeLayout to set your views positions. 5. There's plenty more ways to do it without programmatically setting your layout widths, and without knowing exactly what you want to do I think the above is good for now. -Matt -- 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

