What exactly do you want to do ?
In this
thread you aked a question, I answered you to look at examples in the ScrollView Example Summary thread where you find examples. As you never answered my suggestion, this means, for me, that you found a solution !
Explain exactly what you want to do and post your project as a zip file so we could see what you have done and how.
It is almost impossible to help with a few code snippets and not knowing what the real problem is.
You need to answer following questions:
- where is your Panel1 defined ?
-- in the code or in the Designer ?
- where and how do you add other views to Panel1.
In your code you initialize Panel1 but don't do anything else with it, why ?
In the code in post #4 Panel1 id added onto the Activity which is wrong.
If you want to see Panel1 scrolling in the ScrollView.
You must add Panel1 onto sv.Panel like :
sv.Panel.AddView(Panel1, 0, 0, 100%x, 200%y)
To see the scrolling you need to set also
sv.Panel.Height = 200%y
In the code examples above 200%y is an example, this value is the height of Panel1.
It depends on the views you have on Panel1.
You don't necessarily need to add a panel onto the ScrollView, you can add any views directly onto the internal Panel of the ScrollView with
ScrollView1.Panel.AddView(....)
Did you look at some of the examples in
ScrollView Example Summary ?
Again, explain exactly what you want to do and post your project as a zip file and I will have a look at it.