Android Question live wallpaper portrait

buras3

Active Member
Licensed User
Longtime User
Hello

I read about live wallpaper can not be locked on portrait mode
I have few images and drawing on the Engine.Canvas
when the device moves to landscape the images not drawing correctly
B4X:
Engine.Rect.Left = 0
Engine.Rect.Top = 0
Engine.Rect.Right =Engine.ScreenWidth
Engine.Rect.Bottom =Engine.ScreenHeight
Engine.Canvas.DrawBitmapRotated(Space,Null,Engine.Rect,-90)

the img top is more then 0
and Bottom not in full screen

in portrait every thing is working
what am i doing wrong ?

Tanks
Michael
 
Last edited:
Top