We all love screenshots!
Here you can see 9-patch drawable parsed and drawn.
Code draws image from raw image data and uses drawRGB function (which I took from microemulator), so porting to J2ME is no problem.
Still, I dont know how to scale 9-patches down. The drawable shown has only 2x2 scalability area, so you just can't scale it down beyond [width-2]x[height-2]. I didn't try to scale down in emulator, though. It well may be impossible.
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий