Mobiconf 2018: Nicola Corti, Yelp Inc.
summary
Button is a TextView plus a background drawable (framework Button ~182 LOC, MaterialButton ~800 LOC), default background uses an inset (4dp sides, 6dp top/bottom) so shadows have space, elevation defaults to 2dp and shadows come from two lights (ambient + key). Coloring requires a ColorStateList or theme overlay (backgroundTint alone breaks disabled states), and elevation changes are driven by a StateListAnimator, so Yelp builds small theming utilities to generate stateful colors and animators for consistent buttons across apps.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:24Yelp Mission
- 0:39About me
- 4:13Skeuomorphic Ul
- 5:26Flat UI
- 6:29Almost Flat (aka Flat 2.0)
- 14:37What's actually an Android Button?
- 22:07Typography
- 24:00Hierarchy
- 28:45Secondary color?
- 30:45All works fine but...?
- 32:51Feedback
related talks
44mThe Curious Case of Android Button
44mThe Curious Case of Android Button
26mLiving in a Material world
33mIncorporating Material Theming into Custom Views
36mBuilding UI Consistent Android Apps
24mModularizing your Android UI with Style Guide-Driven Development
42mStyles, Themes, Material Theming, Oh My!
29mThe components of Material Design
