简体   繁体   中英

How do I differ the shortcut name of my app from its “real” name?

I would like a shortened name for the icon that is displayed in launcher, and when the user makes a shortcut on his home screen, that differs from the name displayed in manage applications and the default title bar that shows up in the app itself.

I feel like this is simple, and should be some short code in the manifest, but I am having a hard time finding a solution as most results in google point to end users renaming apps themselves. Thanks for any help!

Changing the following parameter in the launcher intent filter or activity or the application tag in the manifest file will give you the desired result.

android:label="Any String !!"

Android Manifest Guide .

I hope it helps..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM