Sorry, but this will not work correctly:
Activity.AddView(scv,50dip,50dip,500dip,1000dip)
1000dip is the height of the internal panel of the scrollview not the scrollvoew height.
Use something like this, adding the scrollview and setting the internal panel height:
Activity.AddView(scv, 0, 0,100%x, 100%y)
scv.Panel.Height = xxx
Then you are loading the layout once onto the svrollview in main.
But you also load it in the Definitionen module.
So, in which Activity do you want to show the scrollview?
You must add it in the Activity where you want to show it.
You cannot add it in Main and expect seeing it in Definitionen.
An advice for the LayoutDef:
Put all the views onto a panel, even bigger than the screen.
Load the layout onto the scrollview.
And set scv.Panel.Height = pnlLayoutDef.Height