0

I tried to hide my title bar in my application, with xml:

android:theme="@android:style/Theme.NoTitleBar"

and java too:

this.requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.activity_home);

But when I try to run my application, the android alerts: Unfortunately, MyProgram has stopped.

I'm new in android programming, so I don't know, where to search for solution, but if you ask for, I can copy my codes. Thank you for your answer.

Jithin
  • 1,692
  • 17
  • 25
Display Name
  • 1,121
  • 2
  • 11
  • 14

0 Answers0