fresco icon indicating copy to clipboard operation
fresco copied to clipboard

ScaleType doesn't work...

Open PerryDu opened this issue 11 years ago • 3 comments

    draweeView.setScaleType(ScaleType.FIT_XY);

above code doesn't work!!

PerryDu avatar Mar 31 '15 06:03 PerryDu

use this way simpleDraweeView.getHierarchy().setActualImageScaleType(ScaleType.FIT_XY);

blackiedm avatar Mar 31 '15 07:03 blackiedm

blackiedm is correct. I'll make this clearer in the docs.

tyronen avatar Mar 31 '15 10:03 tyronen

http://frescolib.org/docs/gotchas.html#_

plamenko avatar Mar 31 '15 13:03 plamenko