I am trying to display a transparent gif created from free artwork by making the background transparent using Pain.NET. While the resulting gif file has transparent background when viewed with Internet Explorer under Windows, it has a black background on my Android app.
I set the image as follows:
Is there anything I am missing?
I set the image as follows:
B4X:
Dim iw As ImageView
iw.Initialize( "XT" )
Activity.AddView( iw, 50%x, 50%y, 67dip, 67dip ) ' iw.Width, iw.Height )
XT = iw
Try
XT.Bitmap = LoadBitmap( File.DirAssets, "target.gif" )
Catch
ToastMessageShow( "XT icon " & File.DirAssets & "target.gif not found", False )
Return
End Try