Sometimes, the answer lies in the way your views tree looks in the Designer, The hierarchy and the order of the views is important. Maybe you are adding an extra panel in your code that should not be there. Stevel05, the powerhouse, alluded to something like this in post #11 of this thread.
How can I use B4xLoadingIndicator.show when I clicked the item (it's panel) in customlistview? I want to show the loading indicator then hide it again after 0.5 sec.
Sometimes, posting the layout tree for people to see can help.