I followed the code in the ActionBar compability version
When I use the code for API level 10 or less than it, it shows a ActionBar, but when I use it for API level 11 or greater, It does not show logo icon and Action items.
I checked the classes and I understood:
ActionBarHelperBase : API level 10 or less.
ActionBarHelperHoneycomb : API level 11 or greater.
ActionBarHelperICS : API level 14 or greater.
What is the best way to fix the ActionBar for Android Version 3.0 or greater? Specially Android 4.0
The problem was in the Manifest file. I should remove
android:theme="@style/Theme.ThemeCompabilityVersionfrom the Manifest file.Then I need to check the version in the code in OnCreate() method like: