On Tue, Aug 10, 2010 at 5:33 PM, dcrossmier <[email protected]> wrote: > How do you determine which layout to use?
The system handles that. You just ask for the resource by name (R.layout.foo), and Android figures out whether res/layout-large/foo.xml or res/layout-small/foo.xml or res/layout-normal-land/foo.xml or res/layout-en-US-normal-land/foo.xml (or whatever) is the right one based on the current device configuration. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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

