Which icon definitions does Android-Maui use?

dg2k 1,386 Reputation points
2023-10-14T12:20:05.6633333+00:00

Android-Maui, understandably, is different from the Xamarin way of defining app icons. I couldn't find a definitive documentation on this, hence my question.

Are the *.svg icons defined in the *.csproj Maui project file sufficient to generate all the icons required by Android-Maui, or does the app still expect for the different icon resolutions to be provided via mipmap folders?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,961 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,871 Reputation points Microsoft Vendor
    2023-10-16T05:48:01.4866667+00:00

    Hello,

    Are the *.svg icons defined in the *.csproj Maui project file sufficient to generate all the icons required by Android-Maui, or does the app still expect for the different icon resolutions to be provided via mipmap folders?

    In MAUI, you no longer need to use mipmap folders to provide icons of different resolutions.

    According to the documentation of the MAUI App Icon, MAUI will automatically generate icons of the right size for different platforms.

    Please refer to Set the base size for more details.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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 additional answers

Sort by: Most helpful