How to prevent application when phone rotaiting?

sarkis

Member
Licensed User
Longtime User
Hi all
I write an application with some panels on it.
it works good while phone is not rotating.
But when is rotating the view is distorted.
How to prevent distortion when phone rotating?
Thanks for responding
 
Last edited:

ttsolution

Member
Licensed User
Longtime User
Dear all,
I have question as follow

Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("MyReport")
LoadReport ' this sub get data from webservice and display result in ListView
End Sub

The problem is when I rotate the device, the sub LoadReport is called again automatically (take time). I suppose it is no need because all data is available in screen already (just rotate layout)

Please advice me how to solve this

Many thanks,

Jonh,
 
Upvote 0
Top