What is ViewGroup?

What is ViewGroup?

Default Asked on April 5, 2019 in ANDROID.
Add Comment
1 Answer(s)

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 also defines the ViewGroup.LayoutParams class which serves as the base class for layouts parameters.

Android contains the following commonly used ViewGroup subclasses:

LinearLayout
RelativeLayout
ListView
GridView

Team Leader Answered on May 27, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.