![](/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.