只需要在 布局文件中 加入

android:adjustViewBounds="true"
这行代码即可
它会让图片进行等比例的拉伸展示

相关文章:

  • 2021-07-05
  • 2021-07-19
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2022-01-16
  • 2021-09-14
相关资源
相似解决方案