2

瓦

我想制作像图片一样的动态瓷砖。我该怎么做?

4

3 回答 3

4

上面创建的图块更可能是在服务器端创建的。话虽如此,windows phone 7.1 和 windows phone 8 之间发生了很大的变化。这里是windows phone 8 动态磁贴上更新信息 的链接。

于 2013-03-14T23:54:27.880 回答
2

此处提供了一个很好的入门指南。您应该考虑的是,您在动态磁贴背景中看到的图像是动态生成的(例如在服务器上),然后通过预定义的通道返回到手机。

于 2013-03-08T23:23:24.900 回答
2

在以前版本的 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>
...

你可以在这里找到完整的例子

对于以前的版本,您可以在http://talkitbr.com/2015/05/25/live-tiles/找到示例

于 2015-07-14T15:32:50.860 回答