πan Android library that adds floating views on top of your screenπ¨, supports both XML and Jetpack Compose
triggerClickablePerimeterPx
Full Changelog: https://github.com/TorryDo/Floating-Bubble-View/compare/0.6.4...0.6.5
πan Android library that adds floating views on top of your screenπ¨, supports both XML and Jetpack Compose
0.6.1
πExpanded-Bubble
can be draggable now πhttps://github.com/TorryDo/Floating-Bubble-View/assets/85553681/239c49e7-9e6c-4b96-bb15-bbcf601476f7
https://github.com/TorryDo/Floating-Bubble-View/assets/85553681/a4a55356-805a-4841-9e49-813efea07357
Fix some small issues ππ Clean codes Upgrade dependencies
and
No API changes. β¨ππ
Fix: π
DYNAMIC_CLOSE_BUBBLE
(on both portrait and landscape mode). in previous versions, it slightly move to the left.P/s: Fortunately, no API Change were made in this release. Just update and enjoy. πββοΈ
https://github.com/TorryDo/Floating-Bubble-View/assets/85553681/786343e2-2efb-4d61-8644-5a39a16f2dc1
NEW: π₯
.bubble(view)
.bubble(composable)
ViewHelper
: I've removed passing drawable & bitmap. Using this approach to quickly create a view from drawable/bitmap, or you can create your own view πCHANGE: β
.bubble(drawable)
-> removed, use ViewHelper.fromDrawable(...)
as bubble parameter instead.bubble(bitmap)
-> removed, use ViewHelper.fromBitmap(...)
as bubble parameter insteadonClick()
method from FloatingBubble.Listener
: from now on, you can set click event directly (View.setOnClickListener()
, Modifier.clickable{}
, ...)CHANGE: β
setupNotificationBuilder()
-> initialNotification()
NEW: β
notify(Notification)
FIX: π
FIX π:
onUp()
callback is not being called in some casesshowBubbles()
and showExpandableView()
are being calledCHANGE β:
startLocation()
to take input as dp values. You can still pass px values by using startLocationPx()
closablePerimeter()
-> distanceToClose()
NEW β
Route
classinitialRoute()
: see READMEcurrentRoute()
showBubbles()
removeBubbles()
showExpandableView()
removeExpandableView()
OverrideDispatchKeyEvent
compose functionFIX π