Class of android.view · ViewGroup.java · Android's reference
public abstract class ViewGroup extends View implements ViewParent, ViewManager
ViewGroup ← View
A view of child views: their layout params, measure, layout, drawing and the dispatch of input to them.
public static final int FOCUS_BEFORE_DESCENDANTS = 0x20000 sourcepublic static final int FOCUS_AFTER_DESCENDANTS = 0x40000 sourcepublic static final int FOCUS_BLOCK_DESCENDANTS = 0x60000 sourcepublic static final int PERSISTENT_NO_CACHE = 0 sourcepublic static final int LAYOUT_MODE_CLIP_BOUNDS = 0 sourcepublic static final int LAYOUT_MODE_OPTICAL_BOUNDS = 1 sourcepublic ViewGroup(Context context) sourcepublic ViewGroup(Context context, AttributeSet attrs) sourcepublic ViewGroup(Context context, AttributeSet attrs, int defStyleAttr) sourcepublic ViewGroup(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) sourcepublic int getChildCount() sourcepublic View getChildAt(int index) sourcepublic int indexOfChild(View child) sourcepublic void setOnHierarchyChangeListener(OnHierarchyChangeListener listener) sourcepublic void addView(View child) sourcepublic void addView(View child, int index) sourcepublic void addView(View child, int width, int height) sourcepublic void addView(View child, LayoutParams params) sourcepublic void addView(View child, int index, LayoutParams params) sourceprotected boolean addViewInLayout(View child, int index, LayoutParams params) sourceprotected boolean addViewInLayout(View child, int index, LayoutParams params, boolean preventRequestLayout) sourceprotected void onViewAdded(View child) empty body sourceprotected void onViewRemoved(View child) empty body sourceprotected boolean checkLayoutParams(LayoutParams p) sourceprotected LayoutParams generateDefaultLayoutParams() sourceprotected LayoutParams generateLayoutParams(LayoutParams p) sourcepublic LayoutParams generateLayoutParams(AttributeSet attrs) sourcepublic void updateViewLayout(View view, LayoutParams params) sourcepublic void removeView(View view) sourcepublic void removeViewInLayout(View view) sourcepublic void removeViewsInLayout(int start, int count) sourcepublic void removeViewAt(int index) sourcepublic void removeViews(int start, int count) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.