android - Screen rotation bug in actionbar -


hello new in sherlock actionbar having strange problem in sample application. problem when rotate landscape portrait behavior normal when rotate portrait mode layout not change portrait mode.

below screen shot of problem facing.

originalscreen enter image description here

did rotation landscape enter image description here

again rotated original orientation i.e. portrait mode enter image description here

as can see on third picture problem facing.

i using latest version of actionbarsherlock library.

edited manifest file

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.actionbar_sherlockexample" android:versioncode="1" android:versionname="1.0" >  <uses-sdk     android:minsdkversion="8"     android:targetsdkversion="17" />  <application     android:allowbackup="true"     android:icon="@drawable/ic_launcher"     android:label="@string/app_name"     android:theme="@style/apptheme" >     <activity         android:name="com.example.actionbar_sherlockexample.mainactivity"         android:theme="@style/theme.sherlock"         android:label="@string/app_name" >         <intent-filter>             <action android:name="android.intent.action.main" />              <category android:name="android.intent.category.launcher" />         </intent-filter>     </activity> </application>  </manifest> 

thanks

this issue emulator . if run on real device , work fine .


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -