Android Question Dynamic add imageview

Shay

Well-Known Member
Licensed User
Longtime User
Hi

how can I do this?
B4X:
For i=0 To Stars
        Panel1.AddView(ImageView2,move+80dip,65dip,16dip,16dip)
        ImageView2.Bitmap=Bitmap2
        move=move+20
        Next

The above will give error, since ImageView2 is already exist
 
Top