我正在使用xamarin表单进行我的应用程序开发。我正在使用FFimageloading查看gif文件。我在xaml文件中使用了以下代码:
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="myproject.View.MasterDetailPage1Detail"
Icon="UEmlogotiny.png"
xmlns:ff="clr-namespace:FFImageLoading.Forms;assembly=FFImageLoading.Forms"
xmlns:ffSvg="clr-namespace:FFImageLoading.Svg.Forms;assembly=FFImageLoading.Svg.Forms"
xmlns:ffTransformations="clr-namespace:FFImageLoading.Transformations;assembly=FFImageLoading.Transformations"
>……
<ff:CachedImage x:Name="Gif" Source="resource://UETrack.Beats.App.loader.gif" VerticalOptions="CenterAndExpand"
HorizontalOptions="CenterAndExpand"
WidthRequest="75" HeightRequest="75"
DownsampleToViewSize="True" IsVisible="True"/>将映像构建操作更改为"Embedded Resource“
在Orio上显示了gif图像。但不会出现在奥利奥的下方。
有人能帮我解决这个问题吗?
发布于 2018-09-29 00:08:45
如果是这样,您可以简单地执行以下操作:
Source="loader.gif"https://stackoverflow.com/questions/52327223
复制相似问题