I'm using the Fresco
library in my app to load images.
The problem is that I can't set my images height to "wrap_content"
because "wrap_content"
is not supported in the Fresco
library.
So how can I make my images to look good using a DraweeView
?
I looked here but I couldn't find a solution to this problem : frescolib/wrap_content
For example:
<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" />
BTW the images dimensions are 730*760