Android Basics – Learn about Linear Layout

In the last post you learnt about Relative Layout which let’s you place UI components relative to one another.

Linear Layout’s help you to place UI elements next to each other either vertically or horizontally.

In the following Video I will explain this in more detail

Source Code : https://github.com/ankur-srivastava/HelloAndroid/blob/master/app/src/main/res/layout/content_main.xml

 

Android Basics – Learn about Relative, Linear and Grid Layouts

In this Post you will learn the basics of using Layouts. Layouts enable you to position the UI elements on the App Screens.

You can refer to the image and the video to understand the concept better.

You can use three types of Layouts

Relative Layout

Use this Layout to position the UI elements relative to each other.

Continue reading “Android Basics – Learn about Relative, Linear and Grid Layouts”