~/talk

Custom layouts and graphics in Compose

Talkat Android Dev Summit 2022 · 2022-10-24..11-14· [android]
links:none on file
slides:none on file

Builds a working Sleep Tracker called JetLagged in 20 minutes using Jetpack Compose with a real custom graph layout and animated graphics. Uses a custom layout that measures children, passes per-bar duration/offset via ParentDataModifier, and places synchronized day labels and bars. Draws bars with DrawScope, text-measures emojis, composes segmented paths and strokes, animates expansion via transitions, caches brushes with drawWithCache, and runs an animated GPU shader compiled as a RuntimeShader in AGSL.

AI-written summary · about

  1. 0:00Intro
  2. 0:25Custom layouts
  3. 2:30Define the input
  4. 3:25Measure all components
  5. 8:00Placement
  6. 10:35Drawing
  7. 12:28Draw Text
  8. 14:02Increase Height
~/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.