Android Question contentheight and width of scrollview

tufanv

Expert
Licensed User
Longtime User
Hello

In b4i we use contentheight and contentwidth for the contents height and width of scrollview . In B4a there are no control like this. What do we use for that ?

TY
 

eurojam

Well-Known Member
Licensed User
Longtime User
it is something like:
B4X:
Dim sv As ScrollView
sv.Initialize(1000dip) '1000dip is the inner height of the scrollview

'or you set it later like
sv.Panel.Height=2000dip
  
Dim hsv As HorizontalScrollView
hsv.Initialize(2000dip) 'same same
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…