Hello,
I need to show a graph at a different panel when clicked on a button. To show it better , the graph must be shown on a landscape panel but my app is normally using portrait mode.
Problem is , when the button is clicked the main panel which is portrait is hidden and panelgraph comes and i set screenorientation there but this restarts the app. I think it is the normal behaviour but this makes a problem for me.
Is there a way to solve this issue to successfuly change orientations without any restart ?
Thanks
I need to show a graph at a different panel when clicked on a button. To show it better , the graph must be shown on a landscape panel but my app is normally using portrait mode.
Problem is , when the button is clicked the main panel which is portrait is hidden and panelgraph comes and i set screenorientation there but this restarts the app. I think it is the normal behaviour but this makes a problem for me.
Is there a way to solve this issue to successfuly change orientations without any restart ?
Thanks