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:
Emil Kako · Mar 1, 2015 at 04:12 pm · no comments

Samsung Galaxy S6 VS HTC One M9: Which Do You Prefer?

After months of anticipation, both the Samsung Galaxy S6 and HTC One M9 have finally been unveiled. Now that we have all seen both of the devices in all their glory, many of us have some decisions to make. Which of the two beasts do you prefer: the Galaxy S6 or the One M9? Let us know which device you plan on buying and why!

DISCUSS
Mario Tomás Serrafero · Mar 1, 2015 at 04:04 pm · 1 comment

Samsung Unpacked Coverage: All About the S6

Samsung's Unpacked Event has now come and gone through Mobile World Congress 2015, and we've got a good look at what could be the most advanced phone of the year thus far. The event started shortly after its scheduled time at 12:30PM today and the only devices shown were the Galaxy S6 and its Edge variant, both of which pack an impressive amount of features, spectacular internals and an all-new beautiful design. The show began with a quiet voice whispering to...

XDA NEWS
Chris Gilliam · Mar 1, 2015 at 03:59 pm · 1 comment

Samsung Galaxy S6 Cameras

Each year, smartphone makers attempt to one-up each other in features and specs, but time and again these improvements feel incremental rather than revolutionary. Samsung hopes to break this trend with a new hardware and software design philosophy, and press details of the new-and-improved cameras shared by the S6 and S6 Edge show that they are off to a great start. Once you get past the curved displays and wraparound Gorilla Glass 4, the most striking feature on these slabs is the...

XDA NEWS
Share This