What size is the Panel?
As chkGeofence1 is a child of customview-B4XSwitch, when you change chkGeofence1.Top, the Top value is referenced according to the parent panels upper left corner.
If customview-B4XSwitch has the dimensions of chkGeofence1, then you should change customview-B4XSwitch.Top.
Again without knowing exactly what you have done, in detail, we need to guess it.