Android Question ScrollView

Guenter Becker

Active Member
Licensed User
Hello this is the man with troubles again
who needs your help

In my custom control I like to implement a scroll view because the content of the controls panel is often higher then the height of the screen.

I coded as followes in the page crate event:
    ' mainpanel setup
    pnl.Color=props.Get("MenuBackColor")
    pnl.Width =mBase.Width : pnl.height=2*mBase.height

    ' add mscrollview to layout
    scv.Initialize(mBase.height)
    scv.Width = mBase.width
    scv.Panel.AddView(pnl,0,0,pnl.Width,pnl.Height)
    mBase.AddView(scv,0,0,mBase.Width,mBase.height)

And all content of the panels child views are pretty shown but only the part of the mbase height. I am not able to scroll down to the end of the panel.
What is going wrong?

Thank you in advance
stay well
 

Guenter Becker

Active Member
Licensed User
Hih Jeffery you did your daily good job! Thank you this works sometings one (in this case me) can be really stupid.
 
Upvote 0
Top