Graphics for Android Developers, Part Deux
summary
Covers concrete Android graphics APIs and tricks: constructing and chaining paths as linear/quadratic/cubic Béziers, using PathMeasure to read length and getPosTan and then getMatrix to place and rotate icons, trimming with getSegment to animate strokes, stamping and morphing shapes with PathEffect, and converting text to paths with getTextPath/getFillPath to cut underlines around descenders. Shows a Compose demo that edits control points, explains rewind vs reset for reuse, and points to the pathway library and a queryable-path approach for morphing.
AI-written summary · about
chapters (11)
- 0:00Introduction to Android graphics
- 1:29Vectors vs bitmaps
- 8:54Bezier curves explained
- 13:48Drawing paths in Android
- 18:50Building a wavy path demo
- 22:43Positioning icons on paths
- 24:07Path effects and animations
- 28:04Improving text underlines with paths
- 31:35Querying path data
- 35:47Path morphing techniques
- 38:34Animated vector drawables
related talks
42mAndroid Graphics: the Path to [UI] Riches
31mShapeShifting: Creating delightful icon animations
39mIn-depth path morphing w/ Shape Shifter
38mIn a World of Pure Android Animation 🍭🍫
47mLearn Some New Moves: Advanced Android Animation
41mCanvas Drawing for Fun and Profit
34mSmooth Criminals, Android animations and how not to get robbed.
16mAndroid Graphics
