【发布时间】:2012-10-28 09:02:21
【问题描述】:
可能重复:
Getting the Listview default clicked color, depending on the Device
我想设置一个 View 的样式,使其表现得像一个 ListView。这意味着当我点击它时,背景颜色会发生变化。我无法通过设置自定义颜色来做到这一点,因为每个设备对此组件都有不同的样式。 有什么想法我该怎么做?有没有我可以应用的系统样式?
【问题讨论】:
-
我有一个很好的答案:stackoverflow.com/questions/3817662/…
-
@Waza_Be 这和这里的答案是一样的......
标签: java android listview styles