Home > Mobile >  When I insert PNG image using Image Asset , it turns to grey . How can I insert coloured image with
When I insert PNG image using Image Asset , it turns to grey . How can I insert coloured image with

Time:10-14

When I insert PNG image into Image Asset , it turns to grey . How can I insert coloured image with different sizes?

CodePudding user response:

Image Asset: I use it to make my app icon not for add images so if you want the easiest way to add an image with any type "png, jpg,..." just copy it and paste it in src/drawble "not advanced but work fine"

Tip: be sure the ImageView or the View which will display the image not colorful "as gray"

CodePudding user response:

You can always add whatever image you want through the explorer (or finder in Mac).

I like to use Image Baker. You upload the image you want multiple sizes of there and you get a zip file that you can extract directly in your project (/app/src folder).

  • Related