O'Reilly logo

Expert Android by Satya Komatineni, Dave MacLean

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    1

Exploring Custom Views

Your understanding of Android SDK is not vigorous until you master the architecture of Android’s Views. So it is appropriate that we begin Expert Android by exploring the power of Android’s custom views. Our goal in this and the next two chapters is to unwrap the architecture of Android’s Views by customizing them. In Android you can customize views in three ways:

  • Custom views (by extending the View class)
  • Compound views/controls (by composing other existing controls through extending one of the existing Layout classes) (Note that in this and the next few chapters we are using custom views and custom components synonymously)
  • Custom layouts (by extending the ViewGroup class)

We have learned a lot in researching ...

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