[英]Enabling wide tile for a Windows Phone 8.1 Silverlight app with WMS
I have a Windows Phone 8.1 Silverlight app that I need to switch to WMS. 我有一个Windows Phone 8.1 Silverlight应用程序,需要切换到WMS。 When using WMS, the tile definitions from
WMAppManifest.xml
are no longer used, all the tiles are defined in Package.appxmanifest
. 使用WMS时,不再使用
WMAppManifest.xml
中的图块定义,所有图块都在Package.appxmanifest
中定义。
The problem is, in Package.appxmanifest
there is no UI for setting the tiles. 问题是,在
Package.appxmanifest
,没有用于设置图块的UI。 When I open the file as XML, I can see no definition for a wide tile. 当我以XML格式打开文件时,看不到宽图块的定义。
So how do I add the wide tile? 那么,如何添加宽瓷砖?
If I remember, I added the wide tile directly in the XML. 如果我还记得的话,我直接在XML中添加了宽块。 And I've that kind of lines (check the Wide310x150Logo property) :
我有这种类型的行(请检查Wide310x150Logo属性):
<Application Id="xxxxx" Executable="AGHost.exe" EntryPoint="View/MainPage.xaml">
<m3:VisualElements DisplayName="SeriesManiac" Square150x150Logo="Assets\150x150.png" Square44x44Logo="Assets\Logo.png" Description="SeriesManiac" ForegroundText="light" BackgroundColor="transparent" ToastCapable="true">
<m3:DefaultTile Wide310x150Logo="Assets\WideLogo.png" Square71x71Logo="Assets\71x71.png">
</m3:DefaultTile>
<m3:SplashScreen Image="Assets\Splashscreen.png" />
</m3:VisualElements>
<Extensions>
<Extension Category="windows.backgroundTasks" EntryPoint="AgHost.BackgroundTask">
<BackgroundTasks>
<Task Type="systemEvent" />
</BackgroundTasks>
</Extension>
</Extensions>
</Application>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.