android - Why doesn't supportRequestWindowFeature() work? -


i have problem , i've been trying find mistake couple hours can't find it?

my situation: don't want titlebar appears. device htc , runs android 2.3.3. tried supportrequestwindowfeature() somehow doesn't work.

my code here:

  @override   protected void oncreate(bundle savedinstancestate) {      super.oncreate(savedinstancestate);     supportrequestwindowfeature(window.feature_no_title);     setcontentview(r.layout.activity_main);   }      

also mainactivity extends actionbaractivity.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -