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

Set width as the window width of a relative layout

$
0
0

I want to set the width of a relative layout as the width of the window. I did the following. It is not working-

    RelativeLayout relativeLayout = new RelativeLayout ();
    relativeLayout.WidthRequest = 720;
    relativeLayout.HeightRequest = 1080;

what i have to do?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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