Android - Android ViewGroups

An Activity contains Views and ViewGroups. A View is a widget that has a appearance on the screen. A View derives from the base class android.view.View.

One or more Views grouped into a ViewGroup. A ViewGroup(which itself is a type of View) provides layout in which you can order the sequence and appearance of the Views. A ViewGroup derives from the base class android.view.ViewGroup.

Android supports the following groups:

  • LinearLayout
  • AbsoluteLayout
  • TableLayout
  • RelativeLayout
  • FrameLayout
  • ScrollView

Comments

Popular posts from this blog

public vs protected vs default access modifiers - Java

Class, Reference and Object