<activity android:name=".YourActivity" android:configChanges="orientation" android:screenOrientation="portrait"/>