Android Relative Layout

Android Relative Layout

Android Relative Layout

Android Relative Layout is the best suitable layout for the control which is relative to other controls or relative to position like top, bottom, etc. Mostly all android apps are using Relative Layout to design their apps as its suitable for mostly all kind of data. Let setup few control as per requirement.

Location : res\layout

FileName: activity_main.xml

 

Location : src\package\

FileName : MainActivity.java

 

Output 1

Android Relative Layout

Download Code

Adarsh Patel

My Self Adarsh Suryakant Patel. Currently I am working as Assistant Professor at Parul Instiute of Engineering and Technology, MCA Department, Limda, Vadodara. Major Responsibility : * Lectures * Organizing Training and Expert Sessions for * Placement and Recruitment * Faculty Representative