~/talk

A Lighter Layout Abstraction With Contour

Talkat droidcon SF 2019 · 2019-11-18..11-19· [android, component-design]
slides:none on file

Contour is an open‑source Cash App Kotlin library that replaces XML UIs with a thin DSL around Android layout APIs, using Contour layout and applyLayout solvers to compute position and size at runtime. It exposes parent and sibling geometry, supports optional lazy views, cyclical layouts via max/min of solvers, and compiles safer with xInt/yInt inline classes for axis type safety. It removes findViewById, inflation and many extra view wrappers while remaining compatible with existing Android views.

AI-written summary · about

  1. 0:00Introduction to Contour
  2. 3:23Why front-end development matters
  3. 8:00Contour layout basics
  4. 13:59Contour vs ConstraintLayout
  5. 17:11Example: Centering views
  6. 22:46Cyclical layouts in Contour
  7. 26:55Math-driven layout benefits
  8. 29:25Eliminating XML pain points
~/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.