Display Orientation Change V6.5.1
Posted: Mon Jan 27, 2014 7:30 pm
LiveCode Forum,
I've upgraded my Android App to use LiveCode V6.5.1 and have is working nicely with the new screen sizing and density features. Working great in "Letterbox" mode.
Now "Letterbox" adjusts the screen size for the device and puts a black bar on the side. In "Portrait" screen orientation this looks great, but if I switch the orientation of the device to be "Landscape Right" or "Landscape Left" the display now has the same information that was in "Portrait" mode, but now with very large black bars on the right and left.
I tried setting the mode to "ExactFit", but that just stretched the data to fit the new screen orientation. Very ugly.
I've looked through the release notes and tutorials, but I cannot find any information on how to ReSize the application when the orientation changes. I want to expand the data that is displayed to take advantage of the increased screen space available. Example.
Display Orientation 480 x 800 vertical. In this mode I have a native Scroller set up so the user can scroll right and left to view all the data in a wide table. When the user changed the device orientation I want to now show less of the vertical and expand the horizontal data to only show the first 480 of the vertical display, but extend the width of the data to now 800 so the user will be able to see the entire table data set.
What would I need to do on the ReSize message to adjust the displayed data orientation?
Thanks for the help.
dcpbarrington
I've upgraded my Android App to use LiveCode V6.5.1 and have is working nicely with the new screen sizing and density features. Working great in "Letterbox" mode.
Now "Letterbox" adjusts the screen size for the device and puts a black bar on the side. In "Portrait" screen orientation this looks great, but if I switch the orientation of the device to be "Landscape Right" or "Landscape Left" the display now has the same information that was in "Portrait" mode, but now with very large black bars on the right and left.
I tried setting the mode to "ExactFit", but that just stretched the data to fit the new screen orientation. Very ugly.
I've looked through the release notes and tutorials, but I cannot find any information on how to ReSize the application when the orientation changes. I want to expand the data that is displayed to take advantage of the increased screen space available. Example.
Display Orientation 480 x 800 vertical. In this mode I have a native Scroller set up so the user can scroll right and left to view all the data in a wide table. When the user changed the device orientation I want to now show less of the vertical and expand the horizontal data to only show the first 480 of the vertical display, but extend the width of the data to now 800 so the user will be able to see the entire table data set.
What would I need to do on the ReSize message to adjust the displayed data orientation?
Thanks for the help.
dcpbarrington