简体   繁体   中英

How to use XFGloss on WinPhone 8.1 Xamarin Portable Project

I'm making one portable xamarin application, and i'm using XFGloss . Everything is working fine on Android and iOS, but on WinPhone 8.1 my BackGroud Gradiant still black.

My page has:

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

On, Android and iOS i should initilize xfgloss, like this:

-Android

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

-iOS

XFGloss.iOS.Library.Init();

And i dont found how to init XFGloss on WinPhone, even know if have to init this.

在此输入图像描述

How to make this works on WinPhone?

XFGloss has no support for Windows. I guess it would never support WP8, but sometimes it may get support for UWP. At least there is issue for that

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM