GridView 加载并显示本地图片

Android将手机相册图片展示到GridView中


girdview item布局代码

<?xml version="1.0" encoding="utf-8"?>
<com.test.app.widget.MyGridViewItem
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <ImageView
        android:id="@+id/iv_exception"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

</com.text.app.widget.MyGridViewItem>


猜你喜欢

转载自blog.csdn.net/dashujua/article/details/80853559