If you put the file name I must also use the loadbitmap command
B4X:
if 100%×>100%y then
' landscape
Activity.SetBackground(loadbitmap(path,landscapeIMG))
Else
'Portrait
Activity.SetBackground(loadbitmap)path,PortraitIMG))
End if
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.