Hank
Hank

Reputation: 3497

Android: transparent background for custom drawable

I drew up a custom drawable icon in MS paint, but when I load the image it has a white background instead of transparent, how do I fix this?

Upvotes: 0

Views: 1285

Answers (2)

Belurd
Belurd

Reputation: 782

I think you have to use better editor for your purposes, which could make the background of your image transparent. MS Paint has no such possibilities.

Upvotes: 0

Davos555
Davos555

Reputation: 2004

MS Paint probably saved this without a transparent background. Id recommend using something like GIMP or Paint.NET to create this icon. They are both available free.

You probably need to save it as either a .gif file or a .png file too, as these are compatible with transparency (and Android).

Upvotes: 3

Related Questions