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

Dynamic height when switching views

$
0
0

Right now I have two views with a couple of buttons below them.

I only want 1 view visible at any given time.

Based on what buttons the user presses I hide the views, and I want them to take up the full vertical space (except for the buttons at the bottom).

Right now when I have them in a Grid and set height to *, they take up about 50% of the vertical space -even when the other view's IsVisible == false.

How do I get them to occupy the full vertical space and yet all the user to switch between them?


Viewing all articles
Browse latest Browse all 91519

Trending Articles