如何让我的应用程序快捷方式显示在设备中?

发布于 2024-08-30 09:35:48 字数 110 浏览 4 评论 0原文

我在 AndroidManifest.xml 中使用 Activity-alias 来使用快捷方式指定应用程序的另一个入口点。我在快捷方式列表中看到该快捷方式。如何让我的第二个图标(快捷方式)显示在主页中?

I am using Activity-alias in AndroidManifest.xml to specify another entry point to my application using shortcut. I am seeing the shortcut in the shortcut list. How can I get my 2nd icon (shortcut) to show in the Home?

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

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

发布评论

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

评论(1

影子的影子 2024-09-06 09:35:48

如果您根本没有看到启动器图标,请参阅此ApplicationManifest.xml 获取声明示例。

如果“快捷方式列表”指的是应用程序菜单,那么您只需用手指按住并拖动图标即可将其拖放到主屏幕上。

If you are not seeing your launcher icon at all, see the third activity in this ApplicationManifest.xml for an example of an declaration.

If by "shortcut list" you mean the app menu, then you can just hold and drag the icon with your finger and it will allow you to drop it on your Home screen.

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