如何将我的应用程序的快捷方式名称与其“真实”快捷方式名称区分开来?姓名?

发布于 12-23 18:11 字数 157 浏览 4 评论 0原文

我想要在启动器中显示的图标的缩写名称,并且当用户在主屏幕上创建快捷方式时,该名称与管理应用程序中显示的名称以及应用程序本身中显示的默认标题栏不同。

我觉得这很简单,应该是清单中的一些简短代码,但我很难找到解决方案,因为谷歌中的大多数结果都指向最终用户自己重命名应用程序。感谢您的帮助!

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!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

许你一世情深2024-12-30 18:11:49

更改 launcher Intent Filteractivity 中的以下参数或 manifest 文件中的 application 标记将为您提供想要的结果。

android:label="Any String !!"

Android 清单指南

我希望它有帮助..

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..

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文