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
did rotation landscape
again rotated original orientation i.e. portrait mode
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
Post a Comment