Showing technical resources tagged with Layouts/Views:
Layout Tricks: Creating Reusable UI Components
Learn how to combine multiple standard UI widgets into a single high-level component, which can be reused throughout your application.
Layout Tricks: Creating Efficient Layouts
Learn how to optimize application layouts as this article walks you through converting a LinearLayout into a RelativeLayout, and analyzes the resulting implications on performance.
Layout Tricks: Using ViewStubs
Learn about using ViewStubs inside an application's layout in order to inflate rarely used UI elements, without the performance implications which would otherwise be caused by using the <include>
tag.
Layout Tricks: Merging Layouts
Learn how to use the <merge>
tag in your XML layouts in order to avoid unnecessary levels of hierarchy within an application's view tree.
API Demos
A variety of small applications that demonstrate an extensive collection of framework topics.
API 4+ Support Demos
A variety of small applications that demonstrate the use of the helper classes in the Android API 4+ Support Library (classes which work down to API level 4 or version 1.6 of the platform).
API 13+ Support Demos
A variety of small applications that demonstrate the use of the helper classes in the Android API 13+ Support Library (classes which work down to API level 13 or version 3.2 of the platform).
Multiple Resolutions
A sample application that shows how to use resource directory qualifiers to provide different resources for different screen configurations.
Snake
An implementation of the classic game "Snake."
XML Adapters
Binding data to views using XML Adapters examples.
Hello Views
A walk-through of the various types of layouts and views available in the Android SDK.