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

Extending RelativeLayout for Pinch Zoom

$
0
0

I would like to implement pinch zoom on a relative layout.

This implementation shows a solution for pinch zoom:
https://github.com/RobGibbens/XamarinFormsGestureRecognizers

But when I tried to implement a renderer for RelativeLayout I discovered that layouts don't support extension through renderers like the other controls.

Does anyone have any ideas or suggestions on how to implement this? I also tried accessing the view for the relativeLayout from the PageRenderer but couldn't find it.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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