Fresco: SimpleDraweeView doesn't resize to match scaled image dimensions

Created on 21 Jan 2016  路  1Comment  路  Source: facebook/fresco

I like fresco but i have an issue with simpledraweeview which doesn't resize to match the size of scaled image. i have tried CENTER_CROP and even FIT_CENTER scale types but whenever the scaled image height is smaller than my simple drawee view's height, a large space is left.

am using it to show images in a list view where am using a view holder to avoid inflating my layout views all the time thus enabling smooth scrolling.

here is the link to my code at stalk overflow
http://stackoverflow.com/questions/34874463/forcing-simpledraweeview-to-resize-after-scaling-image-in-fresco
here is my simple drawee view. the red color is my view's background thus symbolizing the empty spaces in the view
img_20160121_105853

>All comments

Answered on StackOverflow

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hanhmh1203 picture hanhmh1203  路  4Comments

eresid picture eresid  路  4Comments

qiiyue picture qiiyue  路  4Comments

amodkanthe picture amodkanthe  路  3Comments

ykostova picture ykostova  路  3Comments