Glide Version: 3.7.0
Integration libraries:
Device/Android Version: android6.0 XiaoMi4
Issue details / Repro steps / Use case background:XiaoMi4 use Glide first open app load ImageView picture, have white border, no kill app process, just normal. if kill process restart app also show ImageView white border, no kill process reopen app no show white border
Glide load line / GlideModule (if any) / list Adapter code (if any):
Glide.with(imageView.getContext()).load("http://baidu.com/xxxxxxx")
.centerCrop()
.placeholder(R.drawable.miss_image)
.diskCacheStrategy(DiskCacheStrategy.SOURCE)
.crossFade()
.into(imageView);
Layout XML:
<ImageView
android:id="@+id/headerBgImageView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/bg4"/>
>



If you remove change crossFade to dontAnimate does that make his problem go away?
@TWiStErRob remove crossFade , can't solve this problem
Removing crossFade() is the same as having crossFade(), that's the default. Did you also add .dontAnimate()?
@TWiStErRob

I have the similar problem. It happened when I every time launch activity and first time loading image. If I refresh data from server and use glide to load the image again, then it works fine.
<ImageView
android:id="@+id/activity_theme_list_adapter_item_logo_iv"
android:layout_width="105dp"
android:layout_height="70dp"
android:scaleType="centerCrop"/>
@cantalou yours always has a border, the weird thing is that the first time it is squashed a little.
@TWiStErRob thank you
@WuZhenXing so did you solve it?
@TWiStErRob YEAH!!!! thank u