In the previous lessons we were using LinearLayout with TextViews inside. This time we would create more complicated structure: layout built of other layouts. LinearLayout could contain many LinearLayouts (or other types of layout), and they could contain more layouts and so on. But be careful – too complicated layout tree could negatively influence performance.

If you created app based on previous lessons, you had already contact with layout tag, though we haven’t analyzed how it works. Default layout for new app in Android Studio is RelativeLayout, but we will start with another layout type – called LinearLayout. It is easy to use and still very helpful in many situation.

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.

What & Why

There are many Android tutorials for developers, but it is difficult to find easy to understand lessons for beginners. Android4Beginners.com explain how to build your apps step by step with clear instructions, examples and illustrations. Feel free to share your tips & tricks too!