BGABadgeView-Android is an Android badge control library for displaying notification dots, text badges, image badges, and draggable dismissal badges on common UI elements. It is designed for use cases such as unread message counts, tab notifications, avatar badges, subscription updates, and VIP-style markers. The project includes API, annotation, compiler, and demo modules that help developers add badge behavior to selected view classes. Supported host views include View, ImageView, TextView, RadioButton, LinearLayout, FrameLayout, RelativeLayout, FloatingActionButton, and others. Developers can show, hide, customize, and detect badge state through a badge interface. The library also includes styling attributes for colors, text size, margins, padding, position, borders, dragging, and drag-dismiss behavior.
Features
- Notification dot badges
- Text and image badges
- Drag-to-dismiss badge behavior
- Annotation-based setup
- Multiple Android view support
- Custom badge styling attributes