At run time, In onCreate() method we can request window feature for hiding the title of the activity/window.
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
Above line must be write before adding the content on the view.
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.my_activity);
for Importing the references press CTRL+SHIFT+O
No comments:
Post a Comment