Android Question Scroll Panel

Forgive my stupidity 😅

Mission: Add lotsa pictures to a Panel. Then be able to Scroll the Panel - up and down - to view the Images on it.

Tried a few methods, but not working.

Panel Scroll:
Dim ImageViews(300) As ImageView
For I = 1 To Main.Count
    ImageViews(I).initialize("")
    Panel1.AddView(ImageViews(I),19dip,30+(I-1)*330,350dip,178dip)
    ImageViews(I).Bitmap = LoadBitmap(File.DirAssets, Main.Picture(I).ToLowerCase)
    ImageViews(I).Gravity = Gravity.FILL
Next

Help appreciated.
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
Use CustomListView with SimpleMediaManager.

 
Upvote 0
Top