显示 WP7 应用程序的磁贴?

发布于 2024-10-05 18:38:21 字数 29 浏览 0 评论 0原文

如何使应用程序的图块(大图像)在菜单中可见?

How do I make the application's tile (big image) visible in the menu?

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

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

发布评论

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

评论(2

小傻瓜 2024-10-12 18:38:21

所有应用程序列表中显示的图像称为 ApplicationIcon.png,当您创建应用程序时将应用程序固定到主页时显示的图像称为 Background.png项目。修改这些文件以包含您想要的任何图像;只要保持它们的大小相同即可。 ApplicationIcon.png 的默认值为 62x62 像素,Background.png 的默认值为 173x173 像素。如果你愿意,你可以重命名它们,但在我看来,这不值得麻烦。另外,将它们保留在项目的根目录下,您可以重新定位 Background.png ,然后修改 WMAppManifest.xml 以指向移动的文件,但这不适用于ApplicationIcon.png

最后,在解决方案资源管理器中,单击每个文件并查看属性(在属性管理器窗口中,可以从“工具”菜单启动)。确保将 BuildAction 属性设置为 Content 并将 Copy to output 选项设置为 Copy if newer (或始终复制)。

要回答问题的第二部分,您无法以编程方式将应用程序固定到开始菜单。

The image shown in the list of all applications is called ApplicationIcon.png and the one shown when you pin an application to the main page is called Background.png when you create the project. Modify these files to contains whatever image you want; just keep their sizes the same. The defaults are 62x62 pixels for ApplicationIcon.png and 173x173 pixels for Background.png. You can rename these if you want, but IMO its not worth the trouble. Also, keep them at the root of the project, you can relocate Background.png and then modify WMAppManifest.xml to point to the moved file but this doesn't work for ApplicationIcon.png.

Finally, in the solution explorer, click on each file and look at the properties (in the property manager window, this can be launched from the Tools menu). Make sure the BuildAction property is set to Content and the Copy to output option is set to Copy if newer (or Copy always).

To answer the second part of your question, you cannot programatically pin your application to the start menu.

娇女薄笑 2024-10-12 18:38:21

在主屏幕上可见?在应用程序列表中,点击并按住该项目,您将看到“固定启动”选项。

或者你的意思是如何在你的应用程序中设置它?

Visible on the home screen? in the app list, tap and hold the item, you'll get a "pin to start" option.

Or do you mean how do you set it in your app?

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