Android Wear DotspageIndicator更改所选点的颜色

时间:2015-12-09 22:56:21

标签: wear-os

我喜欢在wear的Dotspageindicator中更改所选点的颜色。我尝试使用setColor()和setSelectedColor(),但颜色仍未改变默认行为。

我希望有人可以帮我解决这个问题。

1 个答案:

答案 0 :(得分:2)

I got the solution the problem is setting color they are redrawing the view without updating the paint.

To update the paint set the radius of the dot. It will redraw the view after updating the paint.