【问题标题】:Windows phone live tileWindows 手机动态磁贴
【发布时间】:2015-07-14 23:32:50
【问题描述】:

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

【问题讨论】:

    标签: windows-phone live-tile


    【解决方案1】:

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

    【讨论】:

      【解决方案2】:

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

      【讨论】:

        【解决方案3】:

        在以前版本的 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/找到示例

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 2011-09-20
          • 2012-08-22
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2013-04-19
          • 1970-01-01
          相关资源
          最近更新 更多