Working On 4.0.3 And 4.1 But Error On 2.1,2.2 And 2.3 - Sherlock Action Bar
Solution 1:
The problem is I'm getting error on versions 2.1 to 2.3 and working fine on 4.0 to 4.1.
=> As you have mentioned this is working fine in 4.0 and 4.1 but not in 2.x version, i am sure you forgot include compatible ActionBarSherlock theme in your style.xml:
If you haven't included styles.xml with below values, then do it:
<stylename="AppTheme"parent="Theme.Sherlock.Light.DarkActionBar"/>
As you have mentioned above about values-v11 and values-v14 for styles.xml, you can create styles.xml in both the folder with below values:
<stylename="AppTheme"parent="android:Theme.Holo.Light.DarkActionBar"/>
Solution 2:
I am a little confused when I look at your screen shot. First, your project should be using Android 4.0.3, not 2.3 in the Android libraries. You already cover 2.3 with the minSDKVersion line in your manifest. Second I can't quite tell, but I assume that in the properties for your project, you made your main project be dependent upon the ActionBarSherlock library?
Post a Comment for "Working On 4.0.3 And 4.1 But Error On 2.1,2.2 And 2.3 - Sherlock Action Bar"