Skip to content
View
View
objects are the basic building blocks of User Interface(UI) elements in Android.
View
is a simple rectangle box which responds to the user’s actions.
- Examples are
EditText
, Button
, CheckBox
etc..
View
refers to the android.view.View
class, which is the base class of all UI classes.
ViewGroup
ViewGroup
is the invisible container. It holds View
and ViewGroup
- For example,
LinearLayout
is the ViewGroup
that contains Button(View), and other Layouts also.
ViewGroup
is the base class for Layouts.