Android 设置ImageView全屏

Android 设置ImageView全屏代码如下:

  <ImageView
        android:id="@+id/iv_image"
        android:scaleType="fitXY"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>
android:scaleType的参数选择.


posted @ 2017-11-02 22:28  趣学程序  阅读(304)  评论(0编辑  收藏  举报