In B4Xpages center of screen is Root.width / 2
In standard android apps it is Activity.Width / 2
leftMarginTarget = the center of screen minus the panel width / 2
The underlying scrollView is found in CustomlistView1.sv
CustomListView1.JumpToItem (index)
CustomListView1.sv.ScrollViewOffsetX = CustomListView1.sv.ScrollViewOffsetX - leftMarginTarget
Let me know if this works.
Edit. If you looked at this a few minutes ago, I changed the + sign to a - sign