Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Circular image ?

$
0
0

Yet again. I did see the suggestion to place a mask image with a "hole" in the middle. The problem is that in list view, when scrolling fast, it has 2 problems:
1) on IOS - scrolling is a bit choppy (yes, I cache the images)
2) on Android - the refresh is choppy and in many cases, you see a rectangular "flicker" and then the circle is applied - it looks cheap.

Instead, I thought of just modifying the image such that I have only 1 image, with everything outside the circle has a pixel value of 0.
Is it possible to modify images in the Xamarin.Forms shared side or do I need to write separate implementation for each platform (which is ok but some pointers on image manipulation would be nice).

Thoughts? Suggestions ?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>