I am trying to display a tranparent image as popup window. For that I have customized the popupwindow as per my need and inflating a relative layout in that popupwindow initview().
In that relative layout I have added a transparent image, but when I run the app, its a oval image inside the rectangular box, so instead of transparancy i could see gray color around that oval image.
I dont have any option than popupwindow, because I should use the controls in the background screen.
I have tried setting the transparent style for this relative layout, eventhough its not working.
Can any one tell me how to do this
or
is there a bug in android popupwindow.
Thanks in advance.
We found a solution for this – While customizing the popup window we have to set the background as null. setBackgroundDrawable(null); Then it worked.