Android Question BMPopUp Can't Swipe

tsteward

Well-Known Member
Licensed User
Longtime User
I create a BMPopUp with the following code.
I thought I could swipe the popup away but the touch goes through to whatever is underneath.
Also no close X in the top right corner.

What did I do wrong or don't understand please

B4X:
public Sub popupMessage(PTitle As String, PConent As String, icon As String)
    Public Notif As BMPopUp
    Notif.Initialize(Root, "Notif", Me)
    Notif.Style = Notif.STYLE_NORMAL
    Notif.Duration = 5
    Notif.isSwipeable = True
    Notif.AnimationIn = Notif.ANIMATION_BOUNCEDOWN
    Notif.Title = PTitle
    Notif.Message = PConent
    Notif.BackColor = Colors.Blue
    Notif.MessageColor = Colors.White
    Notif.TitleColor = Colors.White
    Notif.Icon = icon
    Notif.IconColor = Colors.Green
    Notif.Position = Notif.H_CENTER
    Notif.Tag = Notif
    Notif.VScreenAdjust
    Notif.VScreenCentralize
    Notif.Show
End Sub
 
Top