问题描述
我的xml文件中有一个LottieAnimationView。我想在该Lottie动画视图中添加从后端动态生成的自定义图像(头像图像),我的意思是在Lottie动画视图中在其背景中添加图像。这是我的LottieAnimationView:
<com.airbnb.lottie.LottieAnimationView
android:id="@+id/lottie_animation"
android:layout_width="110dp"
android:layout_height="110dp"
app:lottie_autoplay="true"
app:srcCompat="@drawable/custom"
app:lottie_rawRes="@raw/photo_animation"
app:lottie_loop="true"
app:lottie_speed="2.5" />
但是它只显示我的动画,根本不显示imageview。 你能发表任何想法我该如何处理吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)