Relative Layout - Views Position in Android

RelativeLayout is a view group that displays child views in relative positions. RelativeLayout allows you to display different views in different position in android app. Here, I am going to show you to display views in top left, top middle, top right, center, bottom of screen, etc. of android application.

How to Change Android Button on Click/Press Color
Android Relative Layout Example
Android Elevation Example

XML Layout File


Now, run your application which looks this.

Relative Layout - Views Position in Android

XML 7120327873137818273
Home item