开发者

Make more room in the bitmap in android

What is the best way to make more room (increase width of the bitmap) in the bitmap without开发者_JS百科 distorting or scaling the existing data in Android. I'm tried various method and still can't figure out how to do it


Create a Nine-patch image with Draw 9 Patch tool


Create an empty bitmap which is wider than your existing one, and draw the original bitmap onto the empty bitmap,

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜