关于Android(安卓)ListView组件中android:drawSelectorOnTop含义
16lz
2021-12-04
When set to true, the selector will be drawn over the selected item. Otherwise the selector is drawn behind the selected item. The default value is false.
android:drawSelectorOnTop="true" 点击某一条记录,颜色会显示在最上面,记录上的文字被遮住,所以点击文字不放,文字就看不到
android:drawSelectorOnTop="false" 点击某条记录不放,颜色会在记录的后面,成为背景色,但是记录内容的文字是可见的
更多相关文章
- Android(安卓)学习记录
- android点击状态分析
- 设置TextView文字居中
- Android(安卓)完美扩大ImageView的点击范围方案
- Android资料备注
- android 在TextView中显示EditText,通过Button按键,更改TextView
- android 3G pppd 调试记录
- Android(安卓)TextView内容过长加省略号,点击显示全部内容
- android中textview控件中的文字的位置是如何调整的