Q:

onConfigurationChanged does not work

I want to listen the orientation changed
but it dose not work in SDK 4.0
and i found that the Manifest have to modify android:configChanges="orientation" 
to android:configChanges="orientation|screenSize"
but it has an error :
Screen Shot of Manifest 
then i found that i do not have the option of "screenSize" in Manifest
Screen Shot of config option in Manifest
and the error message is
error: Error: String types not allowed (at 'configChanges' with value 'orientation|
 ScreenSize').
what is wrong about my Manifest?

A:

In manifest you have to add the below line. you had entered the wrong syntax that's why it is showing error.
android:configChanges="orientation|keyboardHidden"

