Stay organized with collections
Save and categorize content based on your preferences.
com.google.android.material.badge
Annotations
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# com.google.android.material.badge\n=================================\n\nAnnotations\n-----------\n\n|-------------------------------------------------------------------------------------------------------|------------------------------------------------|\n| [BadgeDrawable.BadgeGravity](/reference/com/google/android/material/badge/BadgeDrawable.BadgeGravity) | Position the badge can be set to. |\n| [ExperimentalBadgeUtils](/reference/com/google/android/material/badge/ExperimentalBadgeUtils) | Annotation denoting this class is experimental |\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| [BadgeDrawable](/reference/com/google/android/material/badge/BadgeDrawable) | `BadgeDrawable` contains all the layout and draw logic for a badge. |\n| [BadgeUtils](/reference/com/google/android/material/badge/BadgeUtils) | Utility class for [BadgeDrawable](/reference/com/google/android/material/badge/BadgeDrawable). |\n\n-\n\n Annotations\n -----------\n\n - [BadgeDrawable.BadgeGravity](/reference/com/google/android/material/badge/BadgeDrawable.BadgeGravity)\n - [ExperimentalBadgeUtils](/reference/com/google/android/material/badge/ExperimentalBadgeUtils)\n-\n\n Classes\n -------\n\n - [BadgeDrawable](/reference/com/google/android/material/badge/BadgeDrawable)\n - [BadgeUtils](/reference/com/google/android/material/badge/BadgeUtils)"]]