Former Writer · Feb 27, 2012 at 08:00 am

Tutorial Helps Users Understand NinePatch PNGs Better

Anyone who has ever created a theme undoubtedly knows about the dreaded NinePatch files. They’re difficult to work with, and often lead to oddly stretched graphics when not used properly. XDA Senior Member Yorzua attempts to make things easier for us by posting an in depth, picture laden tutorial for those who don’t quite understand how they work.

The tutorial requires some software be installed. You’ll need Photoshop or at least Gimp installed as your image editor. Next, you’ll need Draw 9-Patch to help create NinePatch files. Finally, you’ll need a program called xUltimate to compile the 9.png files. The tutorial itself is pretty much straight forward, consisting of easy to understand pictures, which the guide author has edited with directions to be even more useful. The tutorial also includes an explanation of what 9.png files are.

If you’re a budding themer and need to know more, or are just curious how NinePatch PNGs work, you can check out the full tutorial in the original thread.


_________
Want something on the XDA Portal? Send us a tip!
TAGS:

Former Writer

Former Writer is an editor on XDA-Developers, the largest community for Android users. View Former Writer's posts and articles here.
Jimmy McGee · May 22, 2015 at 12:10 pm · 2 comments

YotaPhone 2 Pre-Order, Xperia Z1 Price Cut – XDA TV

Android Wear 5.1.1 OTA downloads are now available. That and much more news is covered by Jordan when he reviews all the important stories from this week. Included in this week's news is the announcement of Sony cutting the price of the Xperia Z1 and be sure to check out the article talking about the YotaPhone 2 Indiegogo pre-order. That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA...

XDA NEWS
TK · May 21, 2015 at 02:15 pm · 3 comments

Device Review: No.1 X1 Rugged Smartphone

We are almost at the end of Q2 for 2015, and we have seen most of the flagship phones for the year already. While flagship phones usually offer bleeding-edge specs and are the most sought after phones, there is a huge market for non-flagship phones. Some offer value, others offer unique differentiating features. Today, we are going to look at the X1 phone by a Chinese company named N0.1. The company promises a truly rugged IP68 Certified phone. The device has a Quad...

XDA NEWS
Emil Kako · May 21, 2015 at 01:10 pm · 4 comments

When a Friend or Family Member Asks for a Phone Recommendation, What Do You Tell Them?

The majority of us here at XDA would consider ourselves power users and Android enthusiasts. Thus, when a friend or family member has a question about which phone they should get, they usually come to us. However, this is where we all differ. While some will atomically recommend the Nexus line, others in the community will suggest an offering from Samsung or LG. When a friend or family member asks you for a phone recommendation, what do you say?

DISCUSS
Share This