Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
想象一个基本的 ListView,像这样:
Item1 --------- Item2 --------- Item3 --------- Item4
如何更改 ------ 分隔 ListView 中每个项目的线的颜色或宽度?
请试试
android:divider="#FF0000" android:dividerHeight="4px"
看看那个问题:如何改变 Android ListView 分隔线的颜色?