开发者

Blurry rendering on Android

开发者 https://www.devze.com 2023-03-11 21:56 出处:网络
I need for some workaround transform a widget-built DialogBox into a ImageView. To do that开发者_如何学编程, I created a Canvas that saves on a Bitmap (using Canvas someCanvas = new Canvas(someBitmap

I need for some workaround transform a widget-built DialogBox into a ImageView.

To do that开发者_如何学编程, I created a Canvas that saves on a Bitmap (using Canvas someCanvas = new Canvas(someBitmap); )

Then I take my dialog box and do: dialogBoxFrameLayout.Draw(someCanvas);

But the result is blurry. VERY blurry. How I fix it?

0

精彩评论

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