~/talk

The Curious Case of Android Button

Talkat droidcon Berlin 2018 · 2018-06-25..06-27· [android]
slides:none on file

At Yelp tens of millions of button clicks a day drive careful choices: buttons are implemented as TextView subclasses with backgrounds defined by ripple drawables layered over shape drawables, insets reserved for shadows, and colors supplied by color state lists so disabled states render correctly. Material components rely on API 21+ elevation and a StateListAnimator that animates elevation and translationZ for press/disabled states. Practical tips: use AppCompatButton, prefer theme overlays or runtime-created drawables for A/Bable colors, and always support the full set of widget states.

AI-written summary · about

  1. 0:00Introduction and Yelp overview
  2. 1:03Why talk about Android buttons
  3. 2:27History of buttons in UI design
  4. 6:01Designing button shapes
  5. 9:11Understanding shadows in Material Design
  6. 11:59Android button framework deep dive
  7. 15:31Button styles in support library
  8. 19:49Typography for buttons
  9. 21:33Button hierarchy and color contrast
  10. 23:18Customizing button colors
  11. 27:13Theme overlays vs background tint
  12. 31:07Button feedback and states
  13. 33:34Animating button shadows
  14. 37:08Key takeaways and conclusion
  15. 38:37Q&A session
~/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.