title: popup message box in xamarin.form
body: <p>What I am trying to do is similar to DisplayAlert, popup a display page that contains image, content and a small close button at top right. The display page shouldn't cover the whole phone but just around 80% of the phone UI, background remain as parent page.</p>
  
  <p>I am trying to play around with PushModalAsync and PopModalAsync, however with no luck. The output is not what I expected.</p>
  
  <p>Basically, I have a listview, whenever item is selected from screen it will call for popUpMethod:</p>
  
  <pre><code> list.ItemSelected += MyMethod;
  </code></pre>
  
  <p>inside MyMethod i will call popUpPage</p>
  
  <pre><code>async void MyMethod(object sender, SelectedItemChangedEventArgs e){
  Content = await PopUpPage();
  }
  </code></pre>
  
  <p>and this is my PopUpPage method</p>
  
  <pre><code>private async Task&lt;StackLayout&gt; PopUpPage()
  {
       StackLayout objPopUp = new StackLayout() { HeightRequest = 100, WidthRequest= 100, VerticalOptions = LayoutOptions.CenterAndExpand};
  
       Label lblMessage = new Label();
       lblMessage.Text = "Welcome";
  
       objPopUp.Children.Add(lblMessage);
  
       return objPopUp;
  }
  </code></pre>
  
  <p>I am trying to set the height and width inside my popup page. However, it is still covering the whole screen which is not what I want. let me know if any top up information is needed, thank you.</p>
  
  <p>P/S : i designed it in xamarin.Form(portable)</p>