FloatingBubbleView v0.4.0
New:
1, Change function name:
setBubble()
->bubble()
setBubbleStyle()
->bubbleStyle()
setCloseBubble()
->closeBubble()
setBubbleSizeDp()
,setCloseBubbleSizeDp
-> pass attributes tobubble()
,closeBubble()
directlysetStartPoint()
->startLocation()
addFloatingBubbleTouchListener(new FloatingBubble.TouchEvent()...)
->addFloatingBubbleListener(new FloatingBubble.Listener()... )
setAlpha()
->opacity()
- ...
2, Fix compile bugs:
- fix project not compile on sdk 33
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