Which icon definitions does Android-Maui use?

dg2k 1,416 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?

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.