在Monodroid中渲染gif

时间:2014-07-07 10:16:41

标签: c# android xml xamarin.android

我是C#和axml的新手。我在Monodroid中创建了一个包含.gif图像的简单页面。图像具有透明背景。应该显示以下内容

enter image description here

相反,它显示为

enter image description here

背景不再透明了。我正在使用看起来如下的ImageView

<ImageView
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:id="@+id/logoImageView"
    android:src="@drawable/logo"
    android:scaleType="fitCenter" />

如果可能,我如何让背景透明?

0 个答案:

没有答案
相关问题