Why skia looks so poorly on Android? #3392
Unanswered
jyswjjgdwtdtj
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i use avalonia, and I'm trying to make an Android app. There's no native Controls for rendering by skia. So i make one by myself.


This is how my program shows on Desktop:
And this is how it shows on Android real phone
I create my SkiaControl, following the example
There's a really obvious contrast of definition between the graphics on these two platforms. \
i think the problem can't result from antialias, but because of dpi? But i can't find any dpi properties on SKCanvas or SKSurface. Dpi of my phone is about 260, but the dpi how skia renders must be far less than 260.
Then i use WritableBitmap and immediatedrawingcontext of avalonia, then the definition is improved. So the problem may not be led by avalonia i think.
i have found an issue, talking about the strange problem on Android, but it didn't offer any useful suggestions
Thank you
Beta Was this translation helpful? Give feedback.
All reactions