What is view and ViewGroup in Android?

What is view and ViewGroup in Android?
Answer
View is a basic building block of UI (User Interface) in android. A view is a small rectangular box which responds to user inputs. Eg: EditText , Button , CheckBox , etc.. ViewGroup is a invisible container of other views (child views) and other viewgroups.
 

Tìm kiếm

Back
Top