🍀an Android library that adds floating views on top of your screen🎨, supports both XML and Jetpack Compose
NEW: setupBubble:
.behavior( BubbleBehavior )
: choose behavior for the bubbles.closablePerimeter( Int )
: the more value, the bigger closable-areaCHANGE: setupExpandableView:
.expandableView(...)
-> .view(...)
FIX: ✔
OTHER:
NEW: ⭐
FIX: ✔
close-bubble
size is bigger/smaller than bubble
(eg: 80dp vs 60dp), the closable area will be slightly moved to the left.1, Change function name:
setBubble()
-> bubble()
setBubbleStyle()
-> bubbleStyle()
setCloseBubble()
-> closeBubble()
setBubbleSizeDp()
, setCloseBubbleSizeDp
-> pass attributes to bubble()
, closeBubble()
directlysetStartPoint()
-> startLocation()
addFloatingBubbleTouchListener(new FloatingBubble.TouchEvent()...)
-> addFloatingBubbleListener(new FloatingBubble.Listener()... )
setAlpha()
-> opacity()
2, Fix compile bugs:
3, Add default permissions: these two permission are added to library manifest file:
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
4, Update documentation