I am working with XOOM and trying to hide action bar. So i follow the instruction did the following in manifest file:
uses-sdk android:minSdkVersion="11" android:targetSdkVersion="11"
also set activity theme.
android:theme="@android:style/Theme.Holo.NoActionBar"
unfortunately i can still see the action bar. so i remove the holo action part from my manifest and added following code
ActionBar actionBar = getActionBar();
actionBar.hide();
getting null pointer exception from hide() method. so i understand getActionBar() is returning null. Now i am curious what i am missing?