Private Sub CustomListView1_ItemClick (Index As Int, Value As Object)
Dim Top As Int = CustomListView1.GetPanel(Index).Parent.Top - CustomListView1.sv.ScrollViewOffsetY + CustomListView1.GetBase.Top + CustomListView1.GetPanel(Index).Height
lblMenu.Text = "Menu " & Value
pnlContextualMenu.As(B4XView).SetLayoutAnimated(0, CustomListView1.AsView.Left + (CustomListView1.AsView.Width - pnlContextualMenu.As(B4XView).Width) / 2, Top, pnlContextualMenu.As(B4XView).Width, pnlContextualMenu.As(B4XView).Height)
pnlContextualMenu.SetVisibleAnimated(150, True)
End Sub