Any one can share the mainfest.开发者_运维问答xml.
How to set it? then can remove the label..? Thanks very much
Your question isn't very clear, but assuming you're asking about displaying the name of your application: There's a line in the < application > section that has "@string/app_name" in it, which you could remove. Not sure that's a good idea though. Alternatively you might be asking how to remove the title bar at the top of an application. If so, use
requestWindowFeature(Window.FEATURE_NO_TITLE);
If by removing the default label, you mean removing the title bar, you can use the following in your onCreate
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.main);
}
精彩评论