1.布局文件

 


                            android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:descendantFocusability="blocksDescendants">

                                    android:id="@+id/recv_photo"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:paddingLeft="@dimen/dp_7"
                    android:paddingRight="@dimen/dp_7" />
           

 

 

2.java文件

 

        recvPhoto.setHasFixedSize(true);
        recvPhoto.setNestedScrollingEnabled(false);

 

问题解决~

 

更多相关文章

  1. mybatisplus的坑 insert标签insert into select无参数问题的解决
  2. NPM 和webpack 的基础使用
  3. 【阿里云镜像】使用阿里巴巴DNS镜像源——DNS配置教程
  4. Android(安卓)Studio - Session 'app': Error launching activit
  5. android 操作文件
  6. Duplicate files copied (Android(安卓)Studio)
  7. java.lang.NullPointerException: Attempt to invoke virtual me
  8. Android(安卓)studio 常见错误以及问题
  9. Android(安卓)WebView 使用方法,可以解决web视频播放层级问题。

随机推荐

  1. MySQL <>和<=> 运算符介绍
  2. mysql创建用户并赋予用户权限详细操作教
  3. mysql中like % %模糊查询的实现
  4. 详解MySQL like如何查询包含'%'
  5. MySQL模糊查询用法大全(正则、通配符、内
  6. MySQL中ESCAPE关键字的用法详解
  7. Mysql Sql 语句练习题(50道)
  8. 最全50个Mysql数据库查询练习题
  9. 在sql中实现取一行最大值或者最小值
  10. mysql 5.7 的 /etc/my.cnf 参数介绍