A PNG image is to be used as the icon foreground, and the background should be completely transparent.
Using Android Studio > New Image Asset > Configure
Android Studio > New Image Asset > Configure
First you have a background image to get transparent icon without any background image you can't get your icon transparent .
And if you look to get image transparent you simply use some photo editor.