开发者

Android: How to temporarily present a programaticly created bitmap for debug?

I'm Creating a bitmap programmaticly. How can i see them for debug purpose before I use them further? I was thinking something like a dialogBox or an AlertDialog, but how c开发者_如何学Pythonan i make them to show a bitmap?

Thank You


You can create an ImageView and set a bitmap to be the content.

ImageView#setImageBitmap(Bitmap)

This whole thing should be able to be put into an AlertDialog if you would like.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜