设置ImageView为全屏显示


本文地址: http://blog.csdn.net/caroline_wendy


ImageView默认会适应屏幕大小, 假设想使用全屏填充, 则须要使用:


注意android:scaleType的參数选择.


总体界面:
    <ImageView
        android:layout_height="match_parent"
        android:layout_width="match_parent"
        android:scaleType="fitXY"
        android:src="@drawable/healthvideo_background_xxx"/>





Android - 设置ImageView为全屏显示



相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
猜你喜欢
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2022-12-23
  • 2022-02-11
相关资源
相似解决方案