~/talk

Making UI Specs Visible — Compose Screenshot Testing and a Gallery to Support the AI Agent Era

TalkinJapaneseat DroidKaigi 2026 · 2026-09-01..09-03· [android, ai-assisted-development]
name:syarihu
links:none on file
slides:none on file

Describes a system that converts Jetpack Compose @Preview screens into repository-backed screenshot tests using Compose Preview Screenshot Testing, automatically posting PR image diffs. Explains a Dockerized x86_64 layoutlib environment to avoid Mac vs CI rendering differences, plus image commits, HTML gallery generation and WebP+base64 single-file distribution to turn 550+ reference images into a browsable app catalog. Also details pairing pixel tests with arbigent natural‑language UI checks and CI hooks to cut regressions and reviewer effort.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17AI agent UI challenges
  3. 3:29Compose screenshot testing
  4. 8:53Writing tests and tips
  5. 11:255 operational challenges solved
  6. 12:09Challenge 1: Mac vs CI diffs
  7. 15:28Challenge 2: Reviewing diffs
  8. 19:43Challenge 3: PR diff checks
  9. 22:16Challenge 4: Blank images on load
  10. 24:49Challenge 5: Naming and AI rules
  11. 26:33Using generated screenshots
  12. 26:55Use 1: Screenshot gallery
  13. 31:41Use 2: HTML docs auto-gen
  14. 35:18Screenshot test limits
  15. 37:24AI automation design
  16. 40:38Summary
  17. 41:23Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.