Skip to content

FloatingBubbleView v0.4.0

Compare
Choose a tag to compare
@dofire dofire released this 02 Feb 07:09
· 68 commits to master since this release
63d5119

New:

1, Change function name:

  • setBubble() -> bubble()
  • setBubbleStyle() -> bubbleStyle()
  • setCloseBubble() -> closeBubble()
  • setBubbleSizeDp(), setCloseBubbleSizeDp-> pass attributes to bubble(), closeBubble() directly
  • setStartPoint() -> 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