Chapter 12. Developing Fully Custom Views

Android has a significant number of views already created for your use. Throughout this book, you’ve learned how to work with many of them, and in the previous chapter, “Combining Views for Custom Components,” you learned how to combine multiple existing views to make them easier to work with and to add new functionality. Many apps will never need more than what you have learned so far, but sometimes you need to create your own views or significantly modify existing ones. This chapter will teach you the concepts behind how views actually work and then show you the details of actually creating your own custom view.

General Concepts

Before you can start developing your own custom views, it’s a good idea ...

Get Android™ User Interface Design: Turning Ideas and Sketches into Beautifully Designed Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.