B buras3 Active Member Licensed User Longtime User May 1, 2018 #1 Hi how can i load to activity imgs by orientation? one for landscape and one for portrait thank you
Star-Dust Expert Licensed User Longtime User May 1, 2018 #2 B4X: if 100%×>100%y then ' landscape Activity.SetBackground(landscapeIMG) Else 'Portrait Activity.SetBackground(PortraitIMG) End if Last edited: May 1, 2018 Upvote 0
B4X: if 100%×>100%y then ' landscape Activity.SetBackground(landscapeIMG) Else 'Portrait Activity.SetBackground(PortraitIMG) End if
Star-Dust Expert Licensed User Longtime User May 1, 2018 #5 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 Upvote 0
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