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

Creating a 3D Spinning Wheel Menu

With the exception of Chapter 5, Introducing 3D Custom Views, where we explained how to build custom views using OpenGL ES, all the other examples in this book use the 2D drawing methods available from the Canvas class. In the last two chapters, we have seen how to build slightly more complex custom views, but none of them were using any 3D rendering techniques. So, in this chapter, we will show how to build and customize a full custom 3D view and how to interact with it.

With more detail, we will cover the following in this chapter:

  • Adding interactions to a 3D custom view
  • Adding a GestureDetector to manage complex gestures
  • Using a scroller to manage scroll and fling gestures
  • Rendering text into textures and drawing them on OpenGL ES
  • Generating geometry programmatically
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 €18.99/month. Cancel anytime