Skip to Content
Pro Android Graphics
book

Pro Android Graphics

by Wallace Jackson
October 2013
Intermediate to advanced
620 pages
17h 25m
English
Apress
Content preview from Pro Android Graphics

Chapter     10

Using 9-Patch Imaging Techniques to Create Scalable Imaging Elements

In this tenth chapter, we will take a closer look at the Android NinePatch class, as well as the NinePatchDrawable class, and the Draw 9-patch tool.

Since this is a book focused on graphics, and we have now covered Android ImageView and ImageButton classes, which are used to hold and implement an image or animation graphics asset, we will start to focus more on graphics-related classes within Android OS. The first of these is NinePatch.

A NinePatch is one of Android’s most important graphics design tools when it comes to developing image assets that can scale without distortion due to Android device display screen aspect ratio or orientation changes.

A NinePatch ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro Android UI

Pro Android UI

Wallace Jackson
Android Fragments

Android Fragments

Dave MacLean, Satya Komatineni
GUI Design for Android Apps

GUI Design for Android Apps

Ryan Cohen, Tao Wang
Pro Android Games, Third Edition

Pro Android Games, Third Edition

Vladimir Silva, Massimo Nardone

Publisher Resources

ISBN: 9781430257851Purchase book