如何在 Windows Phone 8.1 中创建自定义动态磁贴? [英] How can I create a custom live tile in Windows Phone 8.1?

查看:24
本文介绍了如何在 Windows Phone 8.1 中创建自定义动态磁贴?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想问一下如何实现这样的东西(第一个宽瓷砖):

I wanted to ask how it's possible to achieve something like this (first wide tile):

http://oi59.tinypic.com/149p6s8.jpg

我知道只有有限数量的动态磁贴模板,这是我在 Microsoft 网站上找到的列表:

I know that there are only a limited number of live tile templates and this is the list I found on Microsoft's website:

http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx

没有任何模板看起来像我正在寻找的那样,那么有没有其他方法可以创建自定义图块指定文本大小和位置?谢谢!

There isn't any template that looks like what I'm looking for, so is there any other way to create a custom tile specyfing text size and position? Thank you!

推荐答案

您需要创建一个图像(使用自定义控件并从中渲染图像)并使用它有一个背景.

You need to create an image (use a custom control and render an image from it) and use it has a bakcground.

此链接有助于生成图像:http://spasol.wordpress.com/2013/06/24/creating-custom-live-tiles-for-windows-phone/

This link could help for generating the image: http://spasol.wordpress.com/2013/06/24/creating-custom-live-tiles-for-windows-phone/

这里是通用应用程序可用的模板:http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh761491.aspx

And here are the template available for universal app : http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh761491.aspx

这篇关于如何在 Windows Phone 8.1 中创建自定义动态磁贴?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆