Resize images with Glide in a ImageView Android

前端 未结 6 1231
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-14 16:24

I have a lot of doubts about the treatment of the images in android, and I was hoping to see if you could solve them.

At this point I have an image that occupies 320

6条回答
  •  醉话见心
    2020-12-14 16:51

    Glide
        .with(context)
        .load(path)     
        .apply(new RequestOptions().override(600, 200))
        .centerCrop() 
        .into(imageViewResizeCenterCrop);
    

    @Raghunandan is right.you should try transformation your own way.

提交回复
热议问题