ListView滑动变黑的处理
16lz
2021-12-04
只需要为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"
/>
更多相关文章
- Android中SDK安装出错Failed to fectch URl https://dl-ssl.goog
- android小注意
- Android(安卓)Listview 隐藏滚动条
- Android动画学习笔记-Android(安卓)Animation
- Android添加单元测试的方法与步骤
- Android(安卓)UI: LinearLayout中layout_weight 属性的使用规则
- Android中ListView多种Item布局
- Android(安卓)通过程序添加桌面快捷方式
- Android使用jjdxm-ijkplayer播放视频