Linear LayoutIn a linear layout, like the name suggests, all the elements aredisplayed in a linear fashion(below is an example of the linearlayouts), either Horizontally or Vertically and this behavior is setin android:orientation which is an attribute of the nodeLinearLayout.<LinearLayout android:orientation="vertical"> .... </LinearLayout>OR<LinearLayout android:orientation=“horizontal"> .... </LinearLayout>
Relative LayoutIn a relative layout every element arranges itself relative to otherelements or a parent element.As an example, lets consider the layout defined below. The“Cancel” button is placed relatively, to the right of the “Login”button parallel. Here is the code snippet that achieves thementioned alignment (Right of Login button parallel)
Table LayoutTable layouts in Android works in the same way HTML tablelayouts work. You can divide your layouts into rows and columns.Its very easy to understand. The image below should give you anidea
Absolute LayoutNon-professional and not recommended layout !!!
Rajab Davudov Senior Developer at Azerfon firstname.lastname@example.org://market.android.com/developer?pub=RADJABhttp://gplus.to/radjabhttp://www.fb.me/rajab.davudovhttp://www.linkedin.com/in/radjab Market QR Code