Android application transparency and window sizing at root level
<p>Is it possible to create an application with a transparent background
on the root task such that you can see the task running beneath it
when it is part of a separate stack? Alternatively, is it possible to
run an application so the window of the root task is only a portion of
the screen instead of the whole screen?</p>

<p>I understand how the transparency and window sizing is done with
activities that are not the root task and this works fine. However,
the root task of an activity seems to always fill the whole screen and
be black even when a transparent theme is applied to the application
object in the manifest file.</p>

<p>ApplicationManifest.xml:</p>

<p><code>&lt;application android:icon="@drawable/icon"
                       android:label="@string/app_name"
                       android:debuggable="true"
                       android:theme="@style/Theme.Transparent"&gt;
</code>   </p>

<p>Styles.xml</p>

<p><code>    &lt;resources&gt;
 &lt;style name="Theme.Transparent"&gt;
       &lt;item name="android:windowIsTranslucent"&gt;true&lt;/item&gt;
       &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
       &lt;item name="android:windowBackground"&gt;@drawable/
transparent_background&lt;/item&gt;
       &lt;item name="android:windowAnimationStyle"&gt;@android:style/
Animation.Translucent&lt;/item&gt;
       &lt;item name="android:colorForeground"&gt;#fff&lt;/item&gt;
       &lt;item name="android:windowIsFloating"&gt;true&lt;/item&gt;
               &lt;item name="android:gravity"&gt;bottom&lt;/item&gt;
 &lt;/style&gt;
&lt;/resources&gt;
</code></p>

<p>Colors.xml</p>

<p><code>&lt;resources&gt;
  &lt;drawable name="transparent_background"&gt;#00000000&lt;/drawable&gt;
&lt;/resources&gt;</code></p>
