Home android How to remove the standard top panel with the project name?

How to remove the standard top panel with the project name?

Author

Date

Category


Answer 1, authority 100%

& lt; activity
   android: name = ". MyActivity"
   android: theme = "@ android: style / Theme.NoTitleBar" / & gt;

add to manifest


Answer 2, authority 99%

in the onCreate of the desired activity before

super.onCreate (savedInstanceState); // & lt; & lt; it is
requestWindowFeature (Window.FEATURE_NO_TITLE); // & lt; & lt; insert it here
setContentView (R.layout.about_screen); // & lt; & lt; it is

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions