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

How to make ListView and Editor play together nicely inside a ScrollView?

$
0
0

I have a Page with a StackLayout that contains: a title Label, a ListView, another couple of Labels, an Editor and a Button. The editor should scroll up to make the text visible when the keyboard appears. To solve this I used a ScrollView as a container for the StackLayout. The problem is the ListView now grows each time an item is added pushing the content below (labels, Editor and Button) outside the screen. I'd like to keep the page scrollable when the editor has focus, keep the items scrollable inside the ListView but constraint the ListView itself so it doesn't expand. Any ideas? Thanks.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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