Tuesday, January 25, 2011

Android Orientation configuration.

Android Orientation configuration.
      

You have to add this android:configChanges="orientation" line in Androidmanifest file.

 <activity android:name=".NewActivity"
            android:label="Dashboard" android:configChanges="orientation"
            android:theme="@android:style/Theme.NoTitleBar" />.

here after not coming this  android.internal.policy.impl.PhoneWindow .error.working fine





1 comment:

  1. Hi,i am using TabHost in my application. my requirement is only one of the tab is not restart but rest when the orientation is changed. can you help me to achive this!!
    thanks

    ReplyDelete

Check out this may be help you

Related Posts Plugin for WordPress, Blogger...