-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
I've tried SvgImage and found that it does not work correctly for me. I do not see anything drawn in the image.
When looking deeper into the issue, I found that SvgImage relies on its OnMeasure() method to be invoked in order to determine its _size field. However, in my case OnMeasure() seems to be never invoked, probably (?) because I've placed the SvgImage in a RelativeLayout.
As a consequence, _size keeps its default value which is basically a zero size, and this (wrong) value gets transferred to _graphics.Size in SvgImage.Draw().
I'm not an expert with the layouting system, so not exactly sure what would be a correct solution for this problem.
Metadata
Metadata
Assignees
Labels
No labels