O'Reilly logo

Android in Practice by Michael Galpin, Charlie Collins, Matthias Kaeppler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Getting the pixels perfect

In this chapter

  • Rendering views
  • Creating layouts
  • Working with themes and styles
  • Creating interfaces for mobile apps

I don’t know answers, I just do eyes. You Nexus, huh? I design your eyes.

Blade Runner

This chapter is about all things visual. We’ll see how views are laid out in a hierarchy and drawn to screen in several passes. We’ll also explore more about the layout managers Android provides, and how layout parameters are applied. We’ll then learn how to use themes and styles to customize an application, how to draw custom buttons and other window elements, and how to make user interfaces scale to different devices. Finally, most importantly, we’ll see how to deal with common problems arising in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required