Android UI Tricks

Travis Himes

Android Device Sizes

Homemade Solutions?

  • Canvas Work? - Draw the grid

  • Device details? - look it up or write a quick app

  • Layout Bounds - Draw them, or color them...

There's a better way

Use Provided Tools

  • Key Line Pushing

  • Screen Info

  • Developer Tools -> Show Layout Bounds

Other Tricks...

  • Different Background Colors
  • Sample App for proving a layout or UI
  • Screenshots for measuring/comparison
    • and for deltas
  • Lazy mode for vertical and horizontal rules
  • Press States (always!)
    • How selectors work
  • Lazy developer mode

Questions?

Android UI Tricks

By Travis Himes

Android UI Tricks

  • 1,170