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.
Mario Tomás Serrafero · Aug 4, 2015 at 02:17 pm · no comments

Sony’s Emergence in The Middle: Is The Price Right?

Sony’s Electronics Division is not in its best days, and its smartphone products are seemingly an important cause of this. The Japanese giant’s Xperia line has been on the decline in terms of sales, and these past few months have been particularly damaging to the company due to the Xperia Z4’s market performance. Sony’s Q1 results were also not favorable, as its mobile division lost $184 million and sales slumped 16% year-on-year.   Not too long ago we featured a...

XDA NEWS
Eric Hulse · Aug 4, 2015 at 03:42 am · 1 comment

HTC Delivering Ads Straight to Sense Home

HTC's 2015 has been a year marked by a desperate search for revenue. The HTC One M9 launched with its own launcher complete with a Smart Folder in the Sense Home Widget. This automatic pseudo-folder would populate with "suggestions" that were nothing more than thinly-veiled ads.   Just over a month ago, HTC began placing advertisements (that can thankfully be disabled) in Blinkfeed. These Blinkfeed ads appeared after Yelp advertisements began appearing on HTC's Lock screen. Users, expectedly, voiced dissatisfaction all...

XDA NEWS
Brian Young · Aug 2, 2015 at 09:05 pm · 2 comments

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by €100, making the current retail price of these phones €599 and €699, respectively. Though no new prices have been announced stateside, a cut is expected soon. (more…)

XDA NEWS