I try to dim status bar on Honeycomb, it works as adviced eslewhere using this call
View.setSystemUiVisibility(View.STATUS_BAR_HIDDEN)
Problem is that it works only if manifest has android:minSdkVersion=”11″.
I would like to support devices since API ver 7, and still be able to dim status bar if it is present.
Is there some magical combination of setup making this possible?
Ok, problem spotted and fixed after a while:
My manifest missed (actually had badly typed) android:targetSdkVersion=”11″. When setting this, status bar gets dimmed, and minSdkVersion can be < 11 as desired.