Hello,
Welcome to our Microsoft Q&A platform!
Unfortunately, Android does not allow changing of the application icon because it's sealed in the APK once the program is compiled. There is no way to programmatically change it to a 'drawable'.
You may achieve your goal by using a widget instead of an icon. Widgets are highly customizable and can do what you want. Please see this thread.
Here is similar thread about how to achieve the Custom badge with number for app icon in Xamarin. It contains several ways to achieve it, you can try it.
Best Regards,
Leon Lu
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.