Manage images in a Widget

lock255

Well-Known Member
Licensed User
Longtime User
I state that I'm creating my first widget.

Hello I saw carefully the tutorials on this page wiiki, but I could not figure out how to manage images in a widget. I tried to declare:
B4X:
Dim img1 as ImageView
Dim img2 as ImageView
etc...

But as I understand it can not be declared in this way. I need to set the size and position of the widget with the percentages as here and the possibility to hide pictures:
B4X:
img1.Visible=True

But since I can not dichiarle everything can not work, please let me explain how it works?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…