application restarting when changing orientation even after locking in android
Posted
by Maneesh
on Stack Overflow
See other posts from Stack Overflow
or by Maneesh
Published on 2010-06-12T10:50:31Z
Indexed on
2010/06/12
10:52 UTC
Read the original article
Hit count: 201
android
I want to prevent my application from restarting when orientation of device changes. I have lock the app orientation as per below code but it doesn't help for the same.
<activity android:name=".CheckMemory"
android:screenOrientation="portrait"
android:theme="@style/customTheme"
android:label="@string/app_name">
</activity>
© Stack Overflow or respective owner