B buras3 Active Member Licensed User Longtime User Nov 24, 2014 #1 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 Code: 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: Nov 24, 2014
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 Code: 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
Erel B4X founder Staff member Licensed User Longtime User Nov 25, 2014 #2 What happens if you set the rotation value to 0? Upvote 0
B buras3 Active Member Licensed User Longtime User Nov 25, 2014 #3 Tank you Erel I have found a way Upvote 0