Important Layouts and View Groups

Android provides many more Layouts than just the LinearLayout we used up to here. The most important Layouts, except LinearLayout, you will get to know closer here are:

• RelativeLayout (Views are placed relative to each other)

• TableLayout (Uses tables like in HTML)

Additionally to that I will introduce to you the following really often used ViewGroups:

• GridView (similar to TableLayout, supports 'Adapters')

• ScrollView (If your content exceeds the screen-size, you'll need to scroll)

• TabHost (Displays content in tabs)

0 0

Post a comment