Windows Phone 7 应用程序的替换应用程序图标有哪些要求?
我正在尝试为我的 Windows Phone 7 应用程序创建新图标。每当我运行该应用程序时,我都会得到默认图标。这就是我的过程。
- 我在 Photoshop 中创建了一个 200 px x 200 px 的图标。
- 我将 62 px、99 px 和 173 px 方形版本导出为 PNG 文件。
- 我将它们复制到项目中的图像文件夹中,然后将它们添加为 Visual Studio 2010 中的现有文件。
- 我选择每个图像并将其属性更改为“内容”和“始终复制”。
- 我右键单击“属性”并为“图标”和“背景图像”选择适当的图标。
- 清理了解决方案并从手机中卸载了以前的安装。
- 重新构建项目并检查 WMAppManifest.xml 以确保列出了正确的 PNG。
- 我重新部署应用程序,并且在尝试任一类型的部署时,默认图标继续显示在模拟器和设备中。
关于我缺少什么有什么建议吗?
I'm trying to create new icons for my windows phone 7 app. Whenever I run the app I get the default icons. This has been my process.
- I created a 200 px x 200 px icon in photoshop.
- I exported 62 px, 99 px and 173 px square versions as PNG files.
- I copied these to the images folder in my project and then ADDed them as existing files in Visual Studio 2010.
- I selected each image and changed their properties to "Content" and "Copy Always".
- I right-clicked properties and selected the appropriate icons for Icon and BackgroundImage.
- Cleaned the solution and uninstalled previous installations from the phone.
- Rebuilt the project and checked the WMAppManifest.xml to be sure the proper PNGs were listed.
- I redeploy the app and the default icons continue to show in the emulator and the device when either type of deploy is tried.
Any suggestions as to what I'm missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
WP7 项目中会自动添加三个图像 -
ApplicationIcon.png、Background.png 和 SplashScreenImage.jpg
。这些是您需要更改的三个图像(直接更改,而不是副本)。名称也很重要,因为 WP7 将特别查找这些文件名。ApplicationIcon.png
是当您滑到主屏幕右侧并查看应用程序列表时看到的小图块。Background.png
是固定到主屏幕时显示的图块。SplashScreen.jpg
是您的应用首次启动时显示的启动画面。200x200(以及您创建的其他图像尺寸)不必是应用程序本身的一部分。它们用于您的 Marketplace 提交。根据用户浏览市场的方式,将显示相关尺寸的图块。您无需将这些内容包含在 XAP 中,因为在您提交应用程序时系统会要求您上传它们。只有开头提到的三个文件需要位于 XAP 中。
There are three images that are automatically added in your WP7 project -
ApplicationIcon.png, Background.png and SplashScreenImage.jpg
. These are the three images you need to change (directly, not a copy). The names are important as well, since WP7 will look for those filenames in particular.ApplicationIcon.png
is the small tile you see when you slide to the right of your home screen and see the list of apps.Background.png
is the tile that gets shown when pinned to your homescreen.SplashScreen.jpg
is the splash screen that gets shown when your app is first launched.The 200x200 (and other image sizes you created) don't have to be part of the application itself. They're used for your Marketplace submission. Depending on how the user is browsing the marketplace, the relevant sized tile will be shown. You don't need to include those in the XAP as you'll be asked to upload them when you submit your app. Only the three files mentioned at the beginning need to be in the XAP.
添加到项目中的艺术文件需要与 App.xaml 一起位于项目的根目录中。至少这就是为我解决的问题。当我将新艺术添加到图像目录时,它们显示在属性面板中,我可以选择它们。然而,它们在部署时并未得到使用。我确实尝试在清单中手动更改路径,但这不起作用(或者我输入错误)。将图标艺术移至根解决了该问题。
The art files you add to your project need to be in the root directory of your project with your App.xaml. At least this is what fixed it for me. When I added the new art to the images directory they showed up in the properties panel and I could select them. However they did not get used when deployed. I did try changing the path manually in the manifest but that didn't work (or I typed it wrong). Moving the icon art to the root fixed the issue.