What is the main purpose of ViewGroup?

Đăng Khánh

New member
What is the main purpose of ViewGroup?
Answer
What is the main purpose of a ViewGroup? It groups together the most common views that developers use in Android apps. It serves as a container for View objects, and is responsible for arranging the View objects within it. It is required to make a view interactive as a way to group TextViews on a screen.
 

Tìm kiếm

Back
Top