O'Reilly logo

Android™ User Interface Design: Turning Ideas and Sketches into Beautifully Designed Apps by Ian G. Clifton

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 11. Combining Views for Custom Components

In Chapter 10, “How to Handle Common Components,” you learned to apply existing Android classes to solve common challenges in Android. The best approach is generally to use the existing classes unless you have a compelling reason to do something different. Sometimes existing classes do not quite solve your problem, especially when it comes to views. When you do need to create a custom view, there are two main approaches: modify one or more existing views to do what you want, or create your own. This chapter focuses on the first solution. Chapter 12, “Developing Fully Custom Views,” does the latter to create a view from scratch.

When to Combine Views

Deciding exactly when to combine views for ...

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