This is a small app which has a sample code for relative layout. It covers code example for the following topic
- Align Views
- Place views with respect to other views
- Move views in center (parent, horizontal or vertical)
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).