Google+

Android4Beginners.com

Apps development for Android step by step

Lesson 2: How to arrange layout of Android app? Examples of all layout types

Good or bad GUI (Graphical Users Interface) could decide if your app is successful or not. You should devote as much time as possible to create smooth navigation and positive user experience. In Android you could easily create an app layout in XML layout files.

There are a few defined layout types in Android, like LinearLayout, RelativeLayout or GridLayout. Moreover you could combine them. We would go through all layout types and also use some advanced tricks to customize app design.

Lesson 2.1: How to build Android app with simple, but powerful LinearLayout? Plus layout orientation as well as size and weight of elements.

Lesson 2.2: How to use margins and paddings in Android layout?

Lesson 2.3: How to put layout into layout to create advanced app interface (layout tree in Android)?

Layout arranges on the screen all visual elements of Android app (Photo credit by SXC.hu/ba1969)

Layout arranges on the screen all visual elements of Android app (Photo credit by SXC.hu/ba1969)

Previous:
Next: