Themes, styles & more: from zero to hero
summary
Deep dive into Android theming with concrete takeaways: shows how aapt2 vs aapt affects attribute compilation, lists exact attribute format types (enum flags reference) and namespace rules, demonstrates practical patterns — extracting a list‑item style, tinting a single icon via theme attributes, and a working theme overlays applied per-view approach that appcompat backports to older APIs. Calls out a gotcha that textAppearanceSpan handles only color size typeface, explains context.obtainStyledAttributes usage and a layered base‑theme file layout that avoids duplication across API versions.
AI-written summary · about
chapters (6)
- 0:00Start
- 18:20Android is a universe of styles
- 20:43TextAppearance
- 33:44Theme overlays
- 35:32Compatibility
- 37:12Theming & tinting








