brs wrote: > Is there a simple way for a view to have a fixed aspect ratio - E.g. > > android:width="FILL_PARENT" > android:height=<always same as width...> > > Or is there a way to specify for a view to take up some fixed size, > relative to the available screen size, e.g. width = 50% of screen > width, height=25% or screen height?
Not that I'm aware of in XML. You can do this from within your Java code, though. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.4 Published! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

