Thursday, 14 February 2013

View and ViewGroup in Android

 A ViewGroup is a special view that can contain other views (called children.)
The view group is the base class for layouts and views containers

This class represents the basic building block for user interface components.
A View occupies a rectangular area on the screen and is responsible for drawing and event handling.
View is the base class for widgets, hich are used to create interactive UI components (buttons, text fields, etc.)