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?