Hi,
I've seen a few posts on different forums about how to make a dialog
theme with a completely transparent background. I thought I'd post
this here in case anyone is searching for it. This works on 1.5
(device/emulator), 1.6 emulator, 2.0 emulator:
<style name="Theme.TransparentTest">
<item name="android:windowBackground">@android:color/
transparent</item>
<item name="android:windowFrame">@null</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowAnimationStyle">@android:style/
Animation.Dialog</item>
</style>
it has the same fade in/out animation, looks nice.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en