问题描述
我不想在 Windows Phone 7 的磁贴中显示应用程序名称,就像 Netflix 或 Facebook 应用程序那样,但是当我尝试将其设置为空(甚至是空的空间)时,Visual Studio 会抱怨不允许有空标题.
I'd like not to show the application name in the tile of Windows Phone 7, like the Netflix or the Facebook applications do, but when I try to set it to empty (or even an empty space) Visual Studio complains that an empty title is not allowed.
知道如何实现这一目标吗?我的应用的 logo 已经包含了应用的名称,所以还有默认的标题不是很好看.
Any idea of how to achieve this? The logo of my app already contains the name of the app, so having also the default title is not very nice looking.
推荐答案
如果将 设置为
下的空格>;在
WMAppManifest.xml
中,您应该在起始页磁贴中得到一个空标题.
If you set the <Title>
to a whitespace under <Tokens><PrimaryToken>
; in WMAppManifest.xml
you should get an empty title in the start page tile.
您不应更改顶部标记中的 Title
属性.
You shouldn' change the Title
attribute in the tag at the top.
这篇关于如何在 WP7 应用程序磁贴中隐藏应用程序标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!