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

Scaling a BackgroundImage

$
0
0

I need to overlay an image with a Grid, so I can place some elements and labels at specific places on the image. My first attempt at this was just specifying the BackgroundImage for the page - which works, but the image is bigger than the page, and I don't see any obvious way to force the image to scale.

Is there a way to scale a background image?

If not, what is the best option for overlaying a grid on top of an image? Should I use an ImageView and place the Grid on top of it using an AbsoluteLayout?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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