Hiding the title bar in Android

There is possibility to hide your title bar in application. It is very easy and I am going to show how you can do it.
There are 2 ways,one from code other from AndroidManifest.xml file.
I will show both solutions.

Use this code snippet inside onCreate method:

@Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);requestWindowFeature(Window.FEATURE_NO_TITLE);...

Or you can do the same in AndroidManifest.xml file:

That’s all. You hided your activity’s title bar.
As you can see it is very simple.
I hope it was useful for you.

Share

No related posts.

Leave a Reply

  

  

  

You can use these HTML tags

<a href=""title=""><abbr title=""><acronym title=""><b><blockquote cite=""><cite><code><del datetime=""><em><i><q cite=""><strike><strong>

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna,tincidunt vitae molestie nec,molestie at mi. Nulla nulla lorem,suscipit in posuere in,interdum non magna.