Android Hide Title Bar

We are going to discuss the ways to hide the title bar and to display the content in full-screen mode.
requestWindowFeature(Window.FEATURE_NO_TITLE): It is a method of Activity, which must be coded before the setContentView method. It is called to hide the title.


<?xml version=”1.0″ encoding=”utf-8″?> < xmlns:android=”” xmlns:app=”” xmlns:tools=”” android:layout_width=”match_parent” android:layout_height=”match_parent” tools:context=”.MainActivity”>