I figured out the .9.pngs! The procedure is here! Updated: 02/13/09
::New:::
If you have downloaded the SDK and Eclipse, you have all the tools you need, If not you should grab them and follow Google's guide.
This process is somewhat a pain in the butt, but worth it. You need to take the .9 off of the file name that you want to change, then drag it into the draw9patch tool from the Android SDK(in the tools folder) Here is some info about draw9patch. Pay attention to the Note in the middle of the page. Once you have your 9patch file edited and saved you need to compile it, the lines will remain on this .9 image until it is compiled with eclipse. you need to open a project, or create one in eclipse, drag the .9.png into the drawable folder, then right click your project folder and choose android tools/export unsigned application package. Once this is done, you want to open the apk with WinRar and pull your .9.png files out. you will notice the lines are gone! That is all, I am sure people who have not downloaded the SDK and Eclipse yet might have problems understand this process, but I will try to help you. I am not a guru with Eclipse but i know enough to get by.
Good luck and happy stretching =)
Playing with the SDK today, i found in "SDK\tools\lib\res\default\drawable" all of the .9.pngs have the black lines intact. These could be good for learning the best way to stretch these images. Also the xmls have not been converted to binary, so it might make for some interesting hacks for themes.
Here is a screen shot of the draw9patch tool. The bottom and right sets the content area and the left and top set the stretch area.
I am not sure if i am going to disclose this info just yet (because of the competition) but i wanted to let everyone know its been figured out and we will all know very soon!
i am uploading some screen shots now with some perfect buttons! Anyone who has used my theme knows the buttons looked somewhat messy, well no longer will they be.
|