Tuesday, 26 November 2013

Prevent Activity Restarting when orientation changes

Add following tag  under Activity tag in AndroidManifest.xml

android:configChanges="orientation|screenSize"