Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.
Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.
Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.
Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.
IsClippedToBounds is not working on Android when children of the element are resized. You can try it by simply putting an image inside an AbsoluteLayout and enlarging the image on OnSizeAllocated override of the page. I tried wrapping the AbsoluteLayout in a ContentView and it did not work. The only thing that worked was after wrapping the AbsoluteLayout inside a ContentView, adding the following in the ContentView's custom renderer: public override void Draw(Canvas canvas) { base.Draw(canvas); if (Element.IsClippedToBounds) { SetClipChildren(true); } } Trying the same for AbsoluteLayout did not work. IsClippedToBounds works fine on iOS.
One addition to the workaround I mentioned above: You have to make sure that the contentview has a background (even though it is transparent) for it to work.
Let me try to reproduce this issue with the information provided before I confirm the report. However this may be a duplicate of or related to bug 54425.
*** This bug has been marked as a duplicate of bug 54425 ***