full screen in android at runtime (no notification/status bar and app title bar)?
<p>is following both lines are <br></p>

<pre>
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);  
setTheme(android.R.style.Theme_NoTitleBar_Fullscreen);
</pre>

<p>considering I am writing this line in activity class </p>

<p>Thanks in advance</p>
