You are loading a png file to an imageview??
or drawing with canvas??
if you load that image in designer is it transparent?
it is in the files in the zip . I checked it now are you sure ?i don't see any gri.png file in your project
You should "upload" also that gri.png.
I used another .png in your project and it works as expected, then your .png does not have the transparency, I think.
BTW, check your log, it is full of warnings
I have uploaded i seperately now. I will chek your suggested codeyour file folder on my pc look like this
View attachment 36085
empty of everything like the desert...
you can do it in one loop don't need 2 loops for it (intialize and load image in the same loop), and also luca is right, you have lot of warnings you should try to get rid of them by following the tips
this is the gri.png
I dont have my note3 with me now. But i checked it with the emulator it shows the same. this is the ss from the emulator. Yesterday I checked it with note3 5.0 and it was the same on the real device
It is ok and I get the transparence.
Can you post a screenshot?
P.S.
are you using gravity.fill?
I dont have my note3 with me now. But i checked it with the emulator it shows the same. this is the ss from the emulator. Yesterday I checked it with note3 5.0 and it was the same on the real device