I tried to make a ContentPage with a few ContentViews that are growing on tap (And layout its Children!). That was working well with the LayoutTo(...) Method from Xamarin.Forms.ViewExtensions. But I was getting some Issues with that, later I found that Article.
"LayoutTo does not really resize the View, the view will reset to its initial position and size on the next LayoutCycle." But I need to size a Small View to Fullscreen and use it like a normal ContentPage (with OnPropertyChanged)
What I tried so far:
LayoutTo
Forms Animation and set the Height/Width -request (and force Layout Cycle)
- Custom Renderer with UIView.Animate (and force Layout Cycle)
- Different Layouts (Absolute and Relative) with all combinations :-/
- ScaleTo (which is only stretching the content)
As Jason Smith stated at the end of his article, this is possible with an AbsoluteLayout.
What is the trick?
Thanks in advance