Loading...

Android Relative Layout Example

RelativeLayout is a view group that displays child views in relative positions. Relative layouts are one of the more common types of layouts in android. This example shows you to create android application using relative layout.

Recommended:
How to Change Android Button on Click/Press Color
Relative Layout - Views Position in Android
Android Elevation Example

XML Layout File


res/layout/relative_layout.xml

Now, run your application which looks this.

Android Relative Layout Example

XML 6368431053351970086
Home item