Android Hide the title bar in 2 ways

In android, we can hide the title bar in 2 ways. Hiding the title bar is used to show the full screen in game applications, browser related applications, etc...
First method is through code , we have already seen that.
Second method is through AndroidManifest.xml.

Hide the title bar in Android

When we develop a game or some other application, we may need to show a full page (screen) for users.

In the below image, the Alarm Clock is the title showing in the title bar.

To remove this title bar we need to use,

[sourcecode language="java"]
public void onCreate(Bundle savedInstanceState) {

Syndicate content