I\'m having an odd problem. I am making an app with targetsdk 13.
In my main activity\'s onCreate method i call getActionBar() to setup my actionbar. T
getActionBar()
I had the same problem and one of the solutions was to use setContentView() before calling getActionBar().
setContentView()
But there was another thing that fixed the problem. I specified theme for the application to be @android:style/Theme.Holo.Light.
@android:style/Theme.Holo.Light
...
I think any theme, which has true in it, can be used.
true