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

Rotation Problem

$
0
0

Hey guys,

i have created a custom control to add a filter panel to a listview. it's based on a stacklayout with vertical orientation. this stacklayout has the following children:

Title: another Stacklayout with TouchGestureRecognizer
FilterPanel: Grid with filter settings (described by another XAML file)
ListView: data to show and filter

so at the start the filterpanel has a height of 0.0 and if the title is touched, the panel will be sliding down to a given height with some animations. another tap on the title, the filterpanel slides back. this works! now my problem... If the panel is shown and i rotate the device, the panel reduces its height and cuts out the rest.
some images are added to visualize the problem (filter includes only label for testing)..

hope you can give some advice!


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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