O'Reilly logo

Android UI Fundamentals: Develop and Design by Jason Ostrander

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

11. Creating Advanced Graphics

The Android view framework is convenient for creating complex layouts. However, this convenience comes at the cost of performance. When performance is critical, Android provides several more-robust graphics capabilities with increasing levels of difficulty. In this chapter, you will learn that the SurfaceView and TextureView classes use the standard Canvas object combined with a separate rendering thread to achieve better performance than standard views; that the new RenderScript framework can be used to create architecture-independent graphics rendering; and that OpenGL is available for serious graphics work and games.

Using Canvas

The easiest way to increase drawing performance is by moving your performance-critical ...

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