Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Android UIs with Custom Views

You're reading from   Building Android UIs with Custom Views Build amazing custom user interfaces with Android custom views

Arrow left icon
Product type Paperback
Published in Oct 2017
Publisher Packt
ISBN-13 9781785882869
Length 294 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Raimon Ràfols Montane Raimon Ràfols Montane
Author Profile Icon Raimon Ràfols Montane
Raimon Ràfols Montane
Arrow right icon
View More author details
Toc

Summary

In this chapter, we have seen how to build a simple EPG with many functionalities, but we have probably left many others without an implementation. For instance, our TV program rendering is rather simple, and we could add way more information inside the TV program box, such as the duration, start time, and end time, or even show the TV program description directly there.

Feel free to take what's in the GitHub repository and play with it, add new customizations or functionalities, and adapt it to your needs.

We haven't specifically talked about performance that much, but we have tried to minimize the amount of allocations inside our onDraw method and the methods called by it as much as possible, and we have reduced what we are drawing on the screen as much as possible and don't even process elements that will fall outside the screen boundaries.

Taking into...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime