How to modify the color of a 9patch image Android ? -


i don't understand how create 9patch image, found image working on fragment. problem color outside border not color of background. tried changing color of pixels image color of background resulting image doesn't work anymore. image working has wrong color:

http://i.stack.imgur.com/cjbfv.png

how can change color of pixels outside border, or how can create new 9patch image looks ?

you can edit 9 patch using draw 9-patch tool provided android sdk. image includes 9 patch stretchable area can edit colors in image editor, such gimp or photoshop. ensure rename image use .9.png extension allow recognized 9 patch image.

http://developer.android.com/tools/help/draw9patch.html


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -