Layout Variants
Thanks, Erel. Would GetlayoutValues give height as the device's height or that available after allowing for the title?
In the beginner's guide, it gives an example of using the Abstract Designer to create a layout variant for each of portrait & landscape modes. However, it does not show how the appropriate mode is selected at runtime. Is this automatic? I'm also interested in how the selection is coded (e.g. for the case when the user reorientates the device which would presumably need the code to be in Activity Resume). Could you give an example of the appropriate code?