【发布时间】:2016-11-23 17:07:39
【问题描述】:
我在我的应用程序中使用Fresco 库来加载图像。
问题是我无法将图像高度设置为"wrap_content",因为Fresco 库不支持"wrap_content"。
那么如何使用DraweeView 使我的图像看起来不错呢?
我看了这里,但找不到解决这个问题的方法:frescolib/wrap_content
例如:
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/intro_image1"
android:layout_width="match_parent"
android:layout_height= // Can't use "wrap_content"
fresco:placeholderImage="@drawable/placeholder_image" />
顺便说一句,图像尺寸为 730*760
【问题讨论】:
标签: android image fresco android-wrap-content