Floating Bubble View Versions Save

🍀an Android library that adds floating views on top of your screen🎨, supports both XML and Jetpack Compose

0.5.0

1 year ago

NEW: setupBubble:

  • .behavior( BubbleBehavior ): choose behavior for the bubbles
  • .closablePerimeter( Int ): the more value, the bigger closable-area

CHANGE: setupExpandableView:

  • .expandableView(...) -> .view(...)

0.4.3

1 year ago

FIX: ✔

  • the service does not stop in some cases even when the bubble already inside the closable-area

OTHER:

  • update demo video in README.md, which is displayed incorrectly on some browser (Edge in my case)

0.4.2

1 year ago

NEW: ⭐

  • add documentations on each API using dokka

FIX: ✔

  • when the close-bubble size is bigger/smaller than bubble (eg: 80dp vs 60dp), the closable area will be slightly moved to the left.

0.4.0

1 year ago

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