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

Building a Charts Component

In the previous chapter, we saw how to build a complex custom view that combined a bit of everything we've covered in this book. It included some rendering code, used a third-party library, had touch interactions and animations, and we briefly talked about performance considerations. It was a rather complete custom view example, but it's not the only one. In this chapter, we'll be building another complex custom view. Step by step, we'll build a charts custom view to draw graphs we can embed in our Android applications. We'll start by building a very basic implementation and we'll be adding additional features and functionalities along the way. In more detail, we'll see about:

  • Building a basic charts component
  • How to take into account margins and padding
  • Using Paths to improve rendering
  • Updating and growing our data...
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 AU $24.99/month. Cancel anytime