Android - ViewGroup (Layout)

Card Puncher Data Processing

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





Discover More
Card Puncher Data Processing
Android - (App) Resources (R)

The /res subdirectories contain the resources for your application: drawable-/: Directories for drawable resources, other than launcher icons, designed for various densities. layout: Directory...
Androidadapteritemviewtype
Android - Adapter

An android/widget/AdapterAdapter (widget) object acts as a bridge between: an AdapterView (An android/widget/AdapterViewAdapterView is a view whose children are determined by an Adapter. See subclasses...
Card Puncher Data Processing
Android - FrameLayout

FrameLayout is great for simple layouts when you only haveone child to view, like a list View that fills the entire content area
Android Ui Hierarchy
Android - GUI (Layout)

The graphical user interface for an Android app is built using a hierarchy of UI elements where: ViewGroup (Layout) objects are invisible container element (and therefore one is at the top). Layouts...
Card Puncher Data Processing
Android - Inflate (a layout XML to a view UI object)

In Android, you can create an UI: decoratively through a layout XML with Java object view (viewgroup for container and views for widget) In this context, Inflate means reading a layout XML (often...
Android Xml Layout Attribute Reference
Android - Layout File (XML)

A layout XML is a declarative way of creating an UI. To define the GUI in android, you can do it: at runtime in the code with the ViewGroup object (UI container) and View obejct (widgets) at load...
Card Puncher Data Processing
Android - LinearLayout (Vertical|Horizontal)

A Layout that arranges its children in: a single column (Vertical) or a single row (Horizontal) topics/ui/layout/linearlinearLayout doc android/widget/LinearLayoutLinearLayout Api
Card Puncher Data Processing
Android - ListView

ListView is a view group that shows items in a vertically scrolling list. The items come from the android/widget/ListAdapterListAdapter associated with this view. The list items are automatically inserted...
Android Imageview Visibility
Android - View (UI Widget|Component)

A android/view/Viewview represents a a widget. All the UI elements extends from the android/view/Viewview class a container (viewgroup) is a subclass of a view object a simple widget is also a subclass...



Share this page:
Follow us:
Task Runner