This is a small app which has a sample code for linear layout. It covers code example for the following topic
- Layout margin
- Padding
- Layout gravity
- Gravity
In order to compile the project easily you'll need an IDE. I used Android Studio by Google.
- Download the software from the official website (Download Link).
- Install the software.
- Download this project zip and extract it to a location.
- Open Android Studio and import the project in the software.(File>Open>Select the folder containing the project).