ImageLoader 圆角 要配置XML尺寸

<ImageView
android:layout_width="wrap_content"
android:layout_height="80dp"
android:minHeight="80dp"
android:minWidth="80dp"
android:src="@drawable/ic_launcher"
 />

 

options = new DisplayImageOptions.Builder()
.showImageForEmptyUri(R.drawable.ic_launcher)
.cacheOnDisk(true)
.resetViewBeforeLoading(true)//设置图片在下载前是否重置,复位
.showImageOnFail(R.drawable.ic_launcher)
 
.displayer(new RoundedBitmapDisplayer(150))
 

.build();

文章来自:http://www.cnblogs.com/Ringer/p/4108120.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3