Android app name not being displayed

前端 未结 13 2268
梦谈多话
梦谈多话 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:46

    Use

    this.setTitle("");
    

    in your onCreate() method of your activity and use your prefered application name in the @string/app_name for

     android:lable = "@string/app_name" 
    

提交回复
热议问题