+ 3

What is the difference between the relative layout and linear layout in android?

23rd Jun 2018, 4:20 PM
Prince Raj
2 Antworten
+ 4
Relative layout allow more complex layout thanks to view relative positioning and sizing. LinearLayout allow only to place your views in vertical/horizontal manner
23rd Jun 2018, 4:25 PM
KrOW
KrOW - avatar
+ 4
in linear layout place your view in horizontal manner.in relative layout you can set view according position of another view.in linear layout not possible to set one view appeared an another view.but in relative layout you can do this things
25th Jun 2018, 2:40 PM
sagar patel
sagar patel - avatar