For one, it allows for different screen sizes to look the same. Using absolute layouts would definitely be an issue if you built it for a large screen but someone on a smaller screen ran the app. Hopefully it would be tested on various sizes, but that isn't always the case. Most developers have at most one device + emulator to work with and rely on the layouts among other things for their apps to work with the various devices available.
On Thu, Feb 10, 2011 at 7:59 PM, Mark <[email protected]> wrote: > If anyone cares to comment I'm curious why Android forces you to use a > layout? In every other case I've seen the layout is simply a tool > given to allow for screen variation. What is wrong with allowing the > developer to type View.x = 0; View.y = 0; ? > > -- > 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 -- 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

