【问题标题】:How to use XFGloss on WinPhone 8.1 Xamarin Portable Project如何在 WinPhone 8.1 Xamarin Portable Project 上使用 XFGloss
【发布时间】:2017-02-06 10:53:34
【问题描述】:

我正在制作一个可移植的 xamarin 应用程序,我正在使用 XFGloss。在 Android 和 iOS 上一切正常,但在 WinPhone 8.1 上,我的 BackGroud Gradiant 仍然是黑色的。

我的页面有:

<xfg:ContentPageGloss.BackgroundGradient>
  <xfg:Gradient Rotation="150">
      <xfg:GradientStep StepColor="#305E70" StepPercentage="0" />
      <xfg:GradientStep StepColor="#305E70" StepPercentage="1" />
  </xfg:Gradient>
</xfg:ContentPageGloss.BackgroundGradient>

在 Android 和 iOS 上,我应该初始化 xfgloss,如下所示:

-安卓

XFGloss.Droid.Library.Init(this, bundle);

-iOS

XFGloss.iOS.Library.Init();

而且我没有找到如何在 WinPhone 上初始化 XFGloss,即使知道是否必须初始化。

如何让它在 WinPhone 上运行?

【问题讨论】:

  • XFGloss 仅针对 Android 和 iOS。
  • 我没有找到在 windows phone 上使用 XFGloss 的方法,他们我停止了 windows phone 的项目。

标签: c# xamarin xamarin.winphone


【解决方案1】:

XFGloss 不支持 Windows。我猜它永远不会支持 WP8,但有时它可能会支持 UWP。至少there is issue

【讨论】:

    猜你喜欢
    • 2016-06-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-12-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-24
    相关资源
    最近更新 更多