Android Tech

The more we share, the more we get

Title (Part 4) – Remove title bar from your app

If you don’t like your application has a title bar, you can remove it by 2 ways:

– Using AndroidManifest.xml
– Using Java code

1. Using AndroidManifest.xml

Insert this attribute to your main activity:


Like this:

2. Using Java code

Go to source code Java of your main activity, and insert this line:


Like this:

Run your application and you will see the screen with no title:


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: