【发布时间】:2015-07-14 23:32:50
【问题描述】:
我想制作像图片一样的动态磁贴。我该怎么做?
【问题讨论】:
我想制作像图片一样的动态磁贴。我该怎么做?
【问题讨论】:
上面创建的图块更可能是在服务器端创建的。话虽如此,windows phone 7.1 和 windows phone 8 之间发生了很大的变化。这里是a link 以获取有关 windows phone 8 动态磁贴的更新信息。
【讨论】:
here 提供了一个很好的入门指南。您应该考虑的是,您在动态磁贴背景中看到的图像是动态生成的(例如在服务器上),然后通过预定义的通道返回到手机。
【讨论】:
在以前版本的 Windows 和 Windows Phone 上,使用动态磁贴仅限于一些预定义的模板。
当您看到更复杂的磁贴时,您可以打赌开发人员以编程方式生成了图像,然后将其应用到磁贴背景上。
在 Windows 10 中,自适应磁贴带来了许多新的可能性。
...
<binding template="TileLarge" hint-textStacking="center">
<group>
<subgroup hint-weight="1"/>
<subgroup hint-weight="2">
<image src="Assets/Apps/Hipstame/hipster.jpg" hint-crop="circle"/>
</subgroup>
<subgroup hint-weight="1"/>
</group>
<text hint-style="title" hint-align="center">Hi,</text>
<text hint-style="subtitleSubtle" hint-align="center">MasterHip</text>
</binding>
...
你可以找到完整的例子here
对于以前的版本,您可以在http://talkitbr.com/2015/05/25/live-tiles/找到示例
【讨论】: