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