YUNOVA · Android Development · Module 11: Advanced Jetpack Compose
Custom layouts and Canvas in Compose
Custom layouts and Canvas in Compose
Key points
- The Layout composable measures children and places them yourself.
- Canvas gives a DrawScope to draw lines, shapes, arcs and text.
- Modifier.drawBehind draws custom graphics behind existing content.