ActionBar Height is double in landscape on GT-S5360 2.3.6
Author: LodaCreated Nov 4, 2014Updated Nov 5, 2014
Steps:
- use setRequestedOrientation()
- rotate the screen from portrait to landscape
Observed :
- action bar height is double as when in portraite.

expected:
- action bar height remain the same.
Workaround tested:
- I try to follow http://stackoverflow.com/a/10890402/752174 to force the height, but I observed the same behavior.
Config:
- ActionBarSherlock manifest: android:versionCode="100" android:versionName="4.2.0"
- ActionBarSherlock pom : com.actionbarsherlock4.3.1
- The issuereproduce on device GT-S5360 2.3.6
- the issue don't reproduce on any otyher device I got, including GT-S583i 2.3.6 or terminal with 4.x
- My app got one activity and various fragment. (the Navigation change the current fragment)
Manifest:
- I do NOT use "android:configChanges=" in the manifest
<application
android:theme="@style/Theme.Sherlock.Light" >
<activity
android:name=".MainActivity"
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>Code:
public class MainActivity extends SherlockFragmentActivity {
/**called by the onResume of the fragment.*/
public void onCurrentFragmentChange(BaseDelegate currentFrag){
// depending the fragment/terminal, the activity may rotate or not.
setRequestedOrientation(currentFrag.getRequestedScreenOrientation());
actionbar_loadNavigationList(currentFrag); // call _mActionBar.setListNavigationCallbacks(null or adapter)
updateActionBar(currentFrag, currentFrag.isOrientationLandscape()); // call _mActionBar.setNavigationMode(list for portrait, none for landscape); invalidateOptionsMenu() and _mActionBar.setTitle()
}Source: JakeWharton/ActionBarSherlock