title: Display Modal window in Xamarin
body: <p>I'm newbie in Xamarin. I'm creating a simple application with Xamarin. I have a table view in my layout. Each row of table view displays a modal window. For example the first row is used to get the full name of the user. I want to display the modal window shown (rightside) in the given figure. <img src="https://i.stack.imgur.com/DjPTT.png" alt="Question" /></p>
  <p>I have created a Layout for the same as given below</p>
  <pre><code>&lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:orientation=&quot;vertical&quot;
      android:layout_width=&quot;fill_parent&quot;
      android:layout_height=&quot;fill_parent&quot;
      android:background=&quot;#ffffff&quot;
      android:minWidth=&quot;25px&quot;
      android:minHeight=&quot;25px&quot;&gt;
      &lt;EditText
          android:inputType=&quot;textPersonName&quot;
          android:layout_width=&quot;200dp&quot;
          android:layout_height=&quot;55px&quot;
          android:id=&quot;@+id/txtFirstName&quot;
          android:ellipsize=&quot;none&quot;
          android:gravity=&quot;fill_horizontal&quot;
          android:hint=&quot;First Name&quot;
          android:height=&quot;55dp&quot;
          android:layout_marginTop=&quot;100dp&quot;
          android:layout_gravity=&quot;center_horizontal&quot;
          android:textColor=&quot;#000000&quot; /&gt;
      &lt;EditText
          android:inputType=&quot;textPersonName&quot;
          android:layout_width=&quot;200dp&quot;
          android:layout_height=&quot;55px&quot;
          android:id=&quot;@+id/txtLastName&quot;
          android:ellipsize=&quot;none&quot;
          android:gravity=&quot;fill_horizontal&quot;
          android:hint=&quot;Last Name&quot;
          android:height=&quot;55dp&quot;
          android:layout_marginTop=&quot;25dp&quot;
          android:layout_gravity=&quot;center_horizontal&quot;
          android:textColor=&quot;#000000&quot; /&gt;
      &lt;RelativeLayout
          android:orientation=&quot;vertical&quot;
          android:layout_width=&quot;fill_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:background=&quot;#ffffff&quot;
          android:minWidth=&quot;25px&quot;
          android:minHeight=&quot;25px&quot;
          android:layout_marginTop=&quot;25dp&quot;&gt;
          &lt;Button
              android:text=&quot;Save&quot;
              android:layout_width=&quot;100dp&quot;
              android:layout_height=&quot;55px&quot;
              android:id=&quot;@+id/btnSave&quot;
              android:gravity=&quot;center&quot;
              android:layout_gravity=&quot;center_horizontal&quot;
              android:layout_marginTop=&quot;0dp&quot;
              android:textColor=&quot;#000&quot;
              android:layout_marginLeft=&quot;165dp&quot; /&gt;
      &lt;/RelativeLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  <p>And my code to display popup</p>
  <pre><code>tblrName.Click += delegate
  {
      //Want to display the modal window here.
  };
  </code></pre>
  <p>I tried to set the layout using <code>setContentView()</code> but it opens a new window while I want to display the modal window in same screen itself.</p>
  <p>Can anybody help me to achieve this?</p>