Android Question Image display on all views

daniedb

Active Member
Licensed User
Longtime User
This might be a stupid/simple question, but I cannot get it to work.

I want to display 2 images on all views without adding that image to every layout
eg: in timer embed I will have something like:
B4X:
if InstToUSe=False
  active_img.Bitmap=LoadBitmap(File.DirAssets,"rdot.png")
else
  active_img.Bitmap=LoadBitmap(File.DirAssets,"gdot.png")
end if

And Update all views when opened with that image
I try to use the same Variable Name on all views, but don't seems to work

Thanks
Danie
 

daniedb

Active Member
Licensed User
Longtime User
Hi Erel.

In the Timer I process various variables and calculations, and depending on the status if some variables I want to display that image on any view open at that time.

Thanks
 
Upvote 0
Top