Just Simple Info

Pages

Showing posts with label RelativeLayout. Show all posts
Showing posts with label RelativeLayout. Show all posts

Android RelativeLayout Example

RelativeLayout
Black is created using xml
Green is created using java code
RelativeLayout in Android is most flexible layout. Children can be position almost anywhere or children view can position to the right, left, top and bottom of another children view. This layout is useful if you want to organize the content of your application the way you want. There are two way of creating RelativeLayout, by Xml and Java code.