Android Question ScrollView

Declan

Well-Known Member
Licensed User
Longtime User
I have used the ScrollView Example and load images from a folder without any problem.
I would like to create a scrolling Menu that displays graphics and labels.
I have attached an image of my test app - this shows 3 sets of Graphics and Labels.
However, there are an additional 2 sets that are below those shown.
How do I place Graphics (Icons) and Labels on a ScrollView that will allow the user to scroll the Menu? ScrollView.png
ScrollView.png
 

tufanv

Expert
Licensed User
Longtime User
set the fourth and fith image's top accoridngly .. lets say img1.top = 100, img2.top =400 and img 3.top=700 , set other two as 1000 and 1300 and later set the scrollview.panel.height to last images top + last image's.height
 
Upvote 0
Top