Hi,
Can you please tell me how does my android activity know (is there a callback) when there is a change in screen orientation?
Thank you.
Hi,
Can you please tell me how does my android activity know (is there a callback) when there is a change in screen orientation?
Thank you.
Take a look at Activity
's public void onConfigurationChanged(Configuration newConfig)
method:
Watch out for this:
Note that this will only be called if you have selected configurations you would like to handle with the configChanges attribute in your manifest.