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.