Table of Contents

About

A viewGroup is:

  • a composite (%%view|widget) GUI (ie a container for simple GUI)
  • also the top element of the Android user interface design and is then the start point of GUI definition.

The ViewGroup are invisible user interface containers that:

  • hold:
    • other Views
    • or other ViewGroups
  • and define their layout properties.

A viewGroup definition are subclasses of the ViewGroup interface.

Declaration

See Android - GUI (Layout)

Type of layout

Responsive Layout Android

Viewgrouplayout

  • CoordinatorLayout is a super-powered FrameLayout. CoordinatorLayout is intended for two primary use cases:
    • As a top-level application decor or chrome layout
    • As a container for a specific interaction with one or more child views
  • A ConstraintLayout is a ViewGroup which allows you to position and size widgets in a flexible way.

Documentation / Reference