![](/img/trans.png)
[英]WinPhone 8.1 project with Xamarin.Forms and Caliburn.Micro failes to create view
[英]How to use XFGloss on WinPhone 8.1 Xamarin Portable Project
我正在制作一个便携式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,像这样:
-Android
XFGloss.Droid.Library.Init(this, bundle);
-iOS
XFGloss.iOS.Library.Init();
而且我没有找到如何在WinPhone上初始化XFGloss,甚至知道是否必须初始化它。
如何使这适用于WinPhone?
XFGloss不支持Windows。 我想它永远不会支持WP8,但有时它可能会得到UWP的支持。 至少存在问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.