只需要为ListView添加cacheColorHint属性,并设置其值为#00000000,例如

<ListView
android:id="@+id/contentList"
android:layout_below="@id/rel"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10sp"
android:layout_alignParentBottom="true"

android:cacheColorHint="#00000000"
/>

更多相关文章

  1. Android中SDK安装出错Failed to fectch URl https://dl-ssl.goog
  2. android小注意
  3. Android(安卓)Listview 隐藏滚动条
  4. Android动画学习笔记-Android(安卓)Animation
  5. Android添加单元测试的方法与步骤
  6. Android(安卓)UI: LinearLayout中layout_weight 属性的使用规则
  7. Android中ListView多种Item布局
  8. Android(安卓)通过程序添加桌面快捷方式
  9. Android使用jjdxm-ijkplayer播放视频

随机推荐

  1. 干货丨如何使用Redash连接DolphinDB数据
  2. 惊呆了!不改一行 Java 代码竟然就能轻松解
  3. 设置id从1开始自增
  4. zdz工具箱v1.5 android版本发布了,集成各
  5. 什么是Azure Backup
  6. 牛逼 IDE 插件,一键部署 Docker 镜像,开发
  7. 芋道 Spring Cloud Alibaba 介绍
  8. 芋道 Spring Boot 快速入门
  9. 阿里云也有 IDEA 插件 Cloud Toolkit
  10. 芋道 Spring Cloud Alibaba 注册中心 Nac