Closed could-deng closed 6 years ago
PhotoView view = new PhotoView(context); view.enable(); view.setScaleType(ImageView.ScaleType.FIT_CENTER); Glide.with(context) .load(getPhotolist().get(position).url) .crossFade(500) .placeholder(R.drawable.img_default_meizi) .into(view); container.addView(view);
..原来是弄了Glide.placeholder(),原图跟替代图的尺寸不同。scaleType转化问题。。