A simple way to add a badge value to a Android view.
Note: If your aim is to replicate the iOS icon and TabBar badge UI for notifications, consider using Android UI conventions such as the number field of the Notification class rather than this method.
Simple example:
View target = FindViewById(Resource.id.target_view);
BadgeView badge = new BadgeView(this, target);
badge.SetText("1");
badge.Show();
To use ViewBadger in your own Android project, simply build this project and add the reference to your project.
Author: Daniel Domingues
Based on this.
The code in this project is licensed under the Apache Software License 2.0.
Copyright (c) 2011 readyState Software Ltd.