В своей деятельности я использовал следующую тему:
<style name="Theme.TranslucentDarkGrey" parent="android:Theme">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@color/translucent_dark_grey</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
Это дает мне полупрозрачный серый фон, чтобы увидеть заднюю активность, проблема, с которой я сталкиваюсь, заключается в том, что у меня есть EditText, который не заполняет родительский элемент. Если я удалю тему выше, она хорошо заполняется вот макет:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<EditText
android:id="@+id/body"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbars="vertical" android:layout_weight="1"/>
</LinearLayout>
Nevermind решил это с помощью этого:
<style name="Theme.TranslucentDarkGrey" parent="android:Theme.Translucent">
<item name="android:windowBackground">@color/translucent_dark_grey</item>
</style>