ProgrammerGuide.Net | Step by Step Programmer Guide

Graphical User Interface | Android Programming | ProgrammerGuide.Net | Step by Step Guide

The graphical user interface for an Android application is constructed by a hierarchy of View and ViewGroup objects.

View objects

View objects are UI widgets such as buttons or text fields.

ViewGroup

ViewGroup objects defines the layout of the child view like in a grid or a vertical list. Basically, ViewGroup are invisible view containers.

XML

Android provides an XML vocabulary to define your UI in XML using a hierarchy of UI elements. We can define subclasses of View and ViewGroup in the XML.

Please click here for related products on Amazon!

Jayashee

Add comment

Want to Check Celebrities News?