Reputation: 11
i just tried to remove the title bar from my project but it also removes the bottom bar that i use it for option menu to display there. Is there any way that i can to remove only the title bar?
thanks
Upvotes: 1
Views: 56
Reputation: 617
add line in manifiest application section
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
this will remove title bar from your application
Upvotes: 0
Reputation: 1
Use this in ur java code
requestWindowfeatures(window.Features_NoTitle);
Upvotes: 0
Reputation: 208
@Override public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); // remove title requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.main); }
add this in your onCreate()
Upvotes: 1