I want my activity to look like a dialog.
Well, I achieved that using android:theme="@android:style/Theme.Dialog" Now, I also want it to be translucent as it appears in android:theme="@android:style/Theme.Translucent"
Is there a a way to mix them both using a custom style?? Please any suggestions, thanks
EDIT: achieved something similar with this: Now i want to add border like a dialogwindow...how can i do that???
<style name="TransparentDialog" parent="@android:style/Theme.Dialog"> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:windowFrame">@android:color/transparent</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:alertDialogStyle">@android:style/Theme.Dialog</item> <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item> </style> EDIT: Solved this. Check the answer