How to import set of icons into Android Studio project

前端 未结 8 585
花落未央
花落未央 2020-11-28 02:40

I downloaded collection of icons from Android Developers center Each icon in this collection is ordered in forlders according to its resolution: drawable-hdpi, drawable-mdpi

8条回答
  •  孤城傲影
    2020-11-28 02:49

    For custom images you created yourself, you can do without the plugin:

    Right click on res folder, selecting New > Image Asset. browse image file. Select the largest image you have.

    It will create all densities for you. Make sure you select an original image, not an asset studio image with an alpha, or you will semi-transpartent it twice.

提交回复
热议问题