Quantcast
Viewing all articles
Browse latest Browse all 91519

CustomRenderer Size issues with device orientation?

Hi, I'm trying to use Xamarin.Form to create an app that list and play online videos.
At first, things seem fine with my current setup:
Image may be NSFW.
Clik here to view.

But when I rotated my device, the video view custom renderer didn't fill the whole area:
Image may be NSFW.
Clik here to view.

And when I rotated back, it scaled even bigger than before, and I'm pretty sure that could be the correct scale for the landscape orientation:
Image may be NSFW.
Clik here to view.

The size of the media controller was correct though:
Image may be NSFW.
Clik here to view.

I need my VideoView to be of correct scale, any help would be very appreciated.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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