####Description CircularImage is an android library to create a configurable CircularDrawables. It has the following functionalities:
- Combines upto 4 bitmaps to create one combined CircularDrawable. Additionally, it supports combination of 2 and 3 bitmaps.
- Supports drawing of text, if bitmaps are not available.
- Supports drawing of different types of configurable notifications, at any random angle x from horizontal.
- Supports badges at a fixed position.
- Supports configurable dividers and borders.
- Optimised to reduce overdraw.
####Sample Code
CircularDrawable circularDrawable = new CircularDrawable();
circularDrawable.setBitmapOrText(bitmap1, bitmap2);
//Set Notification
circularDrawable.setNotificationDrawer(new CircularNotificationDrawer().setNotificationText("51").setNotificationAngle(135).setNotificationColor(Color.WHITE, Color.RED));
//Set Divider
circularDrawable.setDivider(4, Color.WHITE);
circularDrawable.setBadge(badgeIcon);
circularDrawable.setBorder(Color.BLACK, 4);
//Set the drawable to imageView
imageView.setImageDrawable(circularDrawable)
//Set the overlay arc
circularDrawable10.setOverlayArcDrawer(new OverlayArcDrawer(Color.parseColor("#BB333333"), 30, 120));
For more details, please refer the sample application.