~/talk

Efficient Android Layouts

Talkat GOTO Copenhagen 2016 · 2016-10-03..10-06· [android, web-performance]
slides:none on file

Shows concrete choices and fixes: prefer a simple FrameLayout for overlays and toggle containers, implement a reusable avatar as a custom view that inflates subviews with the merge tag to avoid extra wrappers, replace many small label views with one custom onDraw view to fix huge rendering slowdowns, use drawable XML layering plus a v21 ripple and AppCompat for theme backporting, drive variants with resource qualifiers and booleans, and convert designer SVGs into Android vectors with Victor to eliminate repeated PNG work.

AI-written summary · about

  1. 0:00Introduction
  2. 2:13RelativeLayout / ConstraintLayout
  3. 3:01LinearLayout
  4. 5:38FrameLayout
  5. 10:20Custom Drawing
  6. 14:22Custom Drawables
  7. 15:07Styles
  8. 16:27Not Efficient
  9. 18:17Themes
  10. 20:14AppCompat
  11. 26:19Resource Qualifier System
  12. 28:53Resources as code
  13. 35:04Drawable XML
  14. 35:55Button Outline
  15. 37:54Button Selector (v21)
  16. 38:37Button Versions
  17. 39:08Vector drawables
  18. 40:27SVG - Vector Drawable
  19. 43:07Tinting Images
~/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.