You cannot make a copy of the view itself. You can make another view with same layout and setting.
B4X:
Dim im as ImageView
'.....
Dim im2 as ImageView
dim p as panel = im.parent
p.addview(im2,im.left,im.top,im.width,im.height)
im2.gravity = im.gravity
im2.bitmap = im.bitmap
You cannot make a copy of the view itself. You can make another view with same layout and setting.
B4X:
Dim im as ImageView
'.....
Dim im2 as ImageView
dim p as panel = im.parent
p.addview(im2,im.left,im.top,im.width,im.height)
im2.gravity = im.gravity
im2.bitmap = im.bitmap
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.