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

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

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