How to change android Activity label

前端 未结 10 1700
心在旅途
心在旅途 2021-02-05 02:53

I have created an Activity and declared in Manifest file. But I would like to re-use the same Activity for other purpose.

 

        
10条回答
  •  名媛妹妹
    2021-02-05 03:19

    Static, not Dynamic

    Go to your AndroidManifest.xml file and add the android:label attribute to the activity tag you want, like this:

    
    

提交回复
热议问题