I am trying to display a transparent image as a popup. To do this, I customized popupwindow to suit my needs and fanned the relative layout in that popupwindow initview ().
In this relative layout, I added a transparent image, but when I started the application, it is an oval image inside a rectangular block, so instead of transparency I could see a gray color around this oval image.
I have no option except popupwindow, because I have to use the controls on the background screen.
I tried to set a transparent style for this relative layout, although it doesn't work.
Can anyone tell me how to do this
or
There is an error in the android popup.
Thanks in advance.
source
share