How to remove the title bar from Android app -


how remove title bar app.?

i tried making changes in manifest file adding "notitlebar" @ end of theme , followed answer given in question

"how hide title bar activity in xml existing custom theme"

but none of them worked me.please help

you add in activity before set view in oncreate function.

getwindow().setflags(windowmanager.layoutparams.flag_fullscreen, windowmanager.layoutparams.flag_fullscreen); 

it because activity extending actionbaractivity. replace extending activity activity.

public class mainactivity extends activity 

i hope solve problem.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -