Skip to content
CURIOUS CREATURE

Android · Platform notes · 2012-12-11

Android Recipe 1: Image With Rounded Corners

Rounded images can be produced with clipping, masks, shaders, or preprocessing; choose according to API level, redraw frequency, and edge quality.

01

Read the contract

Start with lifecycle and API guarantees, then identify behavior that varies by release or device implementation.

02

Build a probe

Use a minimal screen or demo that exposes one platform behavior without unrelated application state.

03

Keep a fallback

Capability checks and graceful alternatives make experiments useful beyond the newest configuration.

Working rule

Make the next measurement cheaper than the next argument.

Keep a minimal reproduction close to the observation. Change one variable at a time, preserve the failing path, and prefer before-and-after evidence over a broad rewrite.