aspose file tools
The moose likes Android and the fly likes Linear Layout,Relative Layout,Absolute Layout aaaah.. I m confused. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Linear Layout,Relative Layout,Absolute Layout aaaah.. I m confused." Watch "Linear Layout,Relative Layout,Absolute Layout aaaah.. I m confused." New topic
Author

Linear Layout,Relative Layout,Absolute Layout aaaah.. I m confused.

Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Hi Everyone,

I am very much confused between all this Linear Layout,Relative Layout,Absolute Layout etc..
Can any one tell me the exact differences between this layouts.
Any link or list of points will be helpful to me.

Thank you.
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1365

These are Layout Managers which help you arrange(layout) UI elements on the screen.

LinearLayout arranges elements side by side either horizontally or vertically(rows vs columns).

RelativeLayout is a layout manager that helps you arrange your UI elements based on some rule. You can specify thisngs like:
align this to parents left edge, place this to the left/right of this elements etc.

AbsoluteLayout is for absolute positioning i.e. you can specify exact co-ordinates where the view should go.

FrameLayout allows placements along Z-axis. That is you can stack your view elements one above the other.

Read the official documentation for details.


[List of FAQs] | [Android FAQ] | [My Blog] | [Samuh Varta]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Linear Layout,Relative Layout,Absolute Layout aaaah.. I m confused.
 
Similar Threads
ABSOLUTE LAYOUT/ NULL LAYOUT..
Path ... doubts!
difference b/w absolute path and relative paths
difference between absolute and relative path
Difference between relative and absolute positioning