Sign in Go Pro

Custom Views and ViewGroups

Custom Views and ViewGroups (Part 4) - Custom Views Versus Custom ViewGroups


Up next



A discussion of the differences between Views and ViewGroups in terms of how they interact with the Android view drawing process. Compares and contrasts the roles and behaviors Views and ViewGroups. Explains how the implementation of `onMeasure`, `onLayout`, and `onDraw` different between Views and ViewGroups. Touches on different strategies for declaring children inside of a custom ViewGroup.

Lessons in Custom Views and ViewGroups