What's the proper way to add standard Android icons to the drawables folder?

None 1 Reputation point
2021-04-24T08:55:10.14+00:00

What's the proper way to add standard Android icons to the drawables folder? Should I use Material icons from a website and download them as SVG and convert them to vector such as XML? In Android, you can add them from some asset menu which I cannot find in Xamarin.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
    2021-04-26T02:44:32.343+00:00

    Hello,

    Welcome to our Microsoft Q&A platform!

    Do you mean the Material Icons ?

    Take one icon for example,when we want to download it, we just need to choose the image color we want :

    91083-image.png

    After we download it ,there are several different folders for different density screens just as follows:

    91045-image.png

    So, according to our requirement, we can put it into our different drawable folders in our app. And android OS select the image it self by checking the compatible device and its resolution.

    Best Regards,

    Jessie Zhang

    ---
    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments