How to make the icon background of an Android app transparent?

后端 未结 3 1825
后悔当初
后悔当初 2020-12-17 03:58

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

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-17 04:35

    Method 1:

    if you have a png, just copy it and paste it in drawable, and refer to image name from manifest.

    
    
            ....
            
    

    Method 2:

    Goto file > new > image asset, make sure you select a png image (with transparent background) & set background shape to none.

提交回复
热议问题