diff options
author | Jason Smith <jason.smith@xamarin.com> | 2016-04-05 11:18:24 -0700 |
---|---|---|
committer | kingces95 <kingces95@users.noreply.github.com> | 2016-04-05 11:18:24 -0700 |
commit | 22e4b3bd6d40ffc3d29a5a072ebb0ae7f8f7783a (patch) | |
tree | 0c9c233931adf0937d2b95ee9bf5f5a6c6aad9f8 /Xamarin.Forms.Platform.Android | |
parent | 244ee01cfa3405c01746d9419e9955e07ae9df2e (diff) | |
download | xamarin-forms-22e4b3bd6d40ffc3d29a5a072ebb0ae7f8f7783a.tar.gz xamarin-forms-22e4b3bd6d40ffc3d29a5a072ebb0ae7f8f7783a.tar.bz2 xamarin-forms-22e4b3bd6d40ffc3d29a5a072ebb0ae7f8f7783a.zip |
Merge pull request #44 from xamarin/fix-bz39499
Fix bz39499
Diffstat (limited to 'Xamarin.Forms.Platform.Android')
-rw-r--r-- | Xamarin.Forms.Platform.Android/Renderers/CarouselViewRenderer.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Android/Renderers/CarouselViewRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/CarouselViewRenderer.cs index d563b7ff..a98126f9 100644 --- a/Xamarin.Forms.Platform.Android/Renderers/CarouselViewRenderer.cs +++ b/Xamarin.Forms.Platform.Android/Renderers/CarouselViewRenderer.cs @@ -650,6 +650,8 @@ namespace Xamarin.Forms.Platform.Android var renderer = _view as IVisualElementRenderer; renderer.Element.Layout(position.ToFormsRectangle(_layout._context)); + // causes the private LAYOUT_REQUIRED flag to be set so we can be sure the Layout call will properly chain through to all children + Measure(position.Width, position.Height); _layout.LayoutDecorated(_view, left: position.Left, top: position.Top, |