View RSS Feed

Android Development

Working with Layouts

Rate this Entry
by , 02-11-2012 at 02:00 PM (831 Views)
XML files that are called “layouts” are used to define Android application user interface screens. The XML files are a special type of resource and treated as a resource. These XML files are used to describe screen layout like how this screen will look like. This layout resource can be considered as a template. A layout resource is filled with different supported view controls which may refer to other resources like colors, strings, drawables and dimensions.

These XML resources are compiled into application’s package as layouts. Also can be created at runtime using XML layout classes in Java from Activity class. These XML layout resource files improve following:

• Clarity
• Readability
• Reusability of code
• Flexibility of application

Submit "Working with Layouts" to Facebook Submit "Working with Layouts" to Digg Submit "Working with Layouts" to Submit "Working with Layouts" to StumbleUpon Submit "Working with Layouts" to Google

Android Layout