title: Translucent Activity filling the entire screen
body: <p>I'd like to have an activity (2) with translucent aspect over another activity (1), aligned at the top of the screen (4).</p>
  
  <p><img src="https://i.stack.imgur.com/XVlGA.jpg" alt="enter image description here"></p>
  
  <p>I have tried assigning these themes to activity number 2:</p>
  
  <pre><code>&lt;style name="Theme.CustomDialog" parent="android:style/Theme.Dialog"&gt;
      &lt;item name="android:windowBackground"&gt;@android:color/black&lt;/item&gt;
  &lt;/style&gt;  
  
  &lt;style name="CustomTheme"&gt;
      &lt;item name="android:windowBackground"&gt;@android:color/transparent&lt;/item&gt;
      &lt;item name="android:background"&gt;@android:color/transparent&lt;/item&gt;
      &lt;item name="android:windowIsFloating"&gt;true&lt;/item&gt;
      &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
  &lt;/style&gt;    
  </code></pre>
  
  <p>But the result is always 3.</p>
  
  <p>If I set <code>&lt;item name="android:windowIsFloating"&gt;false&lt;/item&gt;</code> in the <code>CustomTheme</code> the result is 2.</p>
  
  <p>Can anybody tell me how can I get 4? Thanks!</p>
  
  <p><strong>UPDATE:</strong> This is my activity 2 layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical" android:background="#0000"&gt;
  
      &lt;RelativeLayout
          android:layout_width="fill_parent"
          android:layout_height="wrap_content" android:background="#FFFFFF"&gt;
  
          &lt;Button
              android:id="@+id/button1"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Menu" android:layout_centerHorizontal="true"/&gt;
  
      &lt;/RelativeLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>