Android Layout Tutorial
An Android layout is a class that handles arranging the way its children appear on the screen. Anything that is a View (or inherits from View) can be a child of a layout. All of the layouts inherit from ViewGroup (which inherits from View) so you can nest layouts. You could also create your own custom layout by making a class that inherits from ViewGroup.
The standard Layouts are:
In this article we will examine each of these layouts in detail.
I have also created a demo project that uses the code samples from this tutorial and from the Lots of Lists: Part 1, Simple List Activity tutorial.
You can download the demo source code here.
You can download the demo source code here.
No comments:
Post a Comment