I modified my vertical scrollview program(it is working) to horizontal. I am only getting 1 picture with no scroll. Below is the code I used based on Erels example.
For i = 0 To Bitmaps.Size - 1
Dim iv As ImageView 'create an ImageView for each bitmap
iv.Initialize("iv")
Dim bd As BitmapDrawable
bd.Initialize(Bitmaps.Get(i))
iv.Background = bd 'set the background of the image view.
iv.Tag=i
HorizontalScrollView1.Panel.AddView(iv, 5dip, 5dip + i * 300dip, HorizontalScrollView1.Width - 10dip, 300dip)
Next
For i = 0 To Bitmaps.Size - 1
Dim iv As ImageView 'create an ImageView for each bitmap
iv.Initialize("iv")
Dim bd As BitmapDrawable
bd.Initialize(Bitmaps.Get(i))
iv.Background = bd 'set the background of the image view.
iv.Tag=i
HorizontalScrollView1.Panel.AddView(iv, 5dip, 5dip + i * 300dip, HorizontalScrollView1.Width - 10dip, 300dip)
Next