AlertDialog dialog = new AlertDialog.Builder(context, R.style.style_dailog_from_transparent).create();
<style name="style_dailog_from_transparent" parent="android:style/Theme.Dialog">
<item name="android:windowFrame">@null</item>
<item name="android:background">#00000000</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowNoTitle">false</item>
<item name="android:windowAnimationStyle">@style/anim_windows_from_bottom</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:gravity">bottom</item>
<item name="android:backgroundDimAmount">0</item>
</style>
Window view = dialog.getWindow();
dialog.getWindow().setBackgroundDrawableResource(android.R.color.transparent);