Sorry, but I don't really understand what exactly you want to do.
From what I have seen from your code I have two comments:
1) You dimed
Dim Up, Dp As ImageView once in Globals, this will not work, you must dim them in the For / Next loop.
Or you can use arrays dimed once in Globals Dim Up(3),Dp(3) As ImageView
and in the For / Next loop
For i = 0 To 2
tp = Number(i) & ".png"
Up(i).Initialize("Up")
Dp(i).Initialize("Dp")
Using arrays allows you to have access to all ImageViews everywhere.
2) You can use anchors in the Designer for the Panel, settingthe Horizontal and Vertical anchors to BOTH, so you don't need
Panel1.Height=100%y
Panel1.Width=100%x
at the beginning of Activity_Create.
3) Do you need Panel1 or couldn't the ImageViews be directly on the Activity ?
Attached a version with the modified suggested above.