How To Display A Popup Windows With Transparent Background Image?
Hello guys , i am making a application in which I display pop up-windows with background image, the background image i set to the popup window is transparent image but the problem
Solution 1:
Jayesh, try this :
popUp.setBackgroundDrawable(newColorDrawable(
android.graphics.Color.TRANSPARENT));
Solution 2:
set
popUp.setBackgroundDrawable(null);
It should do the work. what you are getting in background is some sort of background content of popup Window
Solution 3:
In your XML you are defining the background of your popup as
android:background="@color/white_color"
Try applying background image here rather than on run time.
android:background="@drawable/order_back"
OR
move the popup layout changing code above (before popUp.showAtLocation(layout, Gravity.TOP | Gravity.RIGHT,0, 0);
)
Post a Comment for "How To Display A Popup Windows With Transparent Background Image?"