I am creating app for android tab. i want to run in both Landscape and portrait mode.
I have use two folder Layout and Layout-land and in manifest file i have set configChanges=”keyboardHidden|orientation”. if i remove orientation from configChanges than it works fine but it load activity again else layout setting is not working.
any suggestion?
Thanks in advance…
post your code or go through onRetain configuration method.