RelativeLayout is a different kind of layout :)
Seriously if you'd like to layout all your components in a way:
make component A left to component B and below Component C it is the
best way to achieve it with RelativeLayout.

But also RelativeLayout is a good way to optimize your view hierarchy,
by eliminating obsolete elements, see Romain Guy's (The Android
Framework Engineer)  "Android Layout Tricks #1" howto, for details:

http://android-developers.blogspot.com/2009/02/android-layout-tricks-1.html

Have you read Dev Guide yet?

http://developer.android.com/guide/tutorials/views/hello-relativelayout.html

On Dec 22, 12:01 pm, "Sasikumar.S" <sasikumar.it1...@gmail.com> wrote:
> What is the main use of relative layout?
>
> can any one pls explain it...
>
> --
> Thanks & Regards
> Sasikumar.S

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to