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,
精彩评论