Browse Source

[메인][Bug] 이미지 사이즈 커서 크롭

hyodong.min 7 years ago
parent
commit
3743b9dd08

+ 1 - 0
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/main/MainCategoryContentsImageView.java

@@ -304,6 +304,7 @@ public class MainCategoryContentsImageView extends MainCategoryContentsView {
       .load(url)
 //      .apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.NONE))
 //      .apply(new RequestOptions().skipMemoryCache(true))
+      .apply(new RequestOptions().centerCrop())
       .apply(new RequestOptions().override(maskWidth + 400, maskHeight + 100))
       .listener(new RequestListener<Drawable>() {
         @Override