title: How to set XML fullscreen in Android
body: <p>How do I create a full screen mode in XML irregardless of how small what contents are in it?</p>
  
  <p>Here's my "show.xml" code:  </p>
  
  <p>
  </p>
  
  <pre><code>&lt;LinearLayout android:orientation="vertical"
  android:layout_height="wrap_content" android:layout_width="fill_parent"
  android:layout_gravity="center"&gt;    
  
  &lt;Button android:id="@+id/ok_btn" android:layout_height="fill_parent"
  android:layout_width="fill_parent" android:typeface="sans" android:text="ok"&gt;&lt;/Button&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>I want to display it like another full screen page, with black background, like a main.xml. In this case, its like a pop-up screen. Removing or changing the android:layout_width and android:layout_heigh don't work. help please!  :(</p>