Android:解决列表滚动时背景色变黑的方法
16lz
2021-01-23
设置列表的滑动时的颜色:android:cacheColorHint="#000000",只要不为黑色即可。
如下: <ListView android:id="@+id/hotAppList" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@+id/head" android:cacheColorHint="#afafaf" > </ListView>
如下: <ListView android:id="@+id/hotAppList" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@+id/head" android:cacheColorHint="#afafaf" > </ListView>
更多相关文章
- 关于文字颜色/图片背景---selector状态列表
- 3、android颜色取值
- Android RGB颜色查询对照表
- android中各种颜色在drawable.xml的值
- android中颜色对应的值
- Android中如何修改CheckBox的颜色
- android 修改状态栏和标题栏颜色
- 改变ScrollView的滚动条的颜色
- 仿照利用android系统源码资源文件,修改SeekBar颜色 前景与背景