Android app name not being displayed

前端 未结 13 2239
梦谈多话
梦谈多话 2020-12-29 20:53

My Android app is not displaying the application name \"app_name\", instead its displaying the activity name \"title\". This is from my manifest file;

   <         


        
13条回答
  •  离开以前
    2020-12-29 21:40

    You can just set your launcher activitys label as the app name and then set the actionBar title manually in code for that activity

    getSupportActionBar().setTitle(R.string.title_user_login);
    

    This is of course if you are using an action bar. Normal activity title headings are ugly anyway!

    EDIT: saying that you can see the text change on start up!

提交回复
热议问题