这种圆形向外扩展的动效来自 Material design,叫做ripple(涟漪)。 要改变它的颜色,一个简单的方法是更改 style: <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> ... <item name="colorControlHighlight">@color/ripple_material_dark</item> ... </style> 另外你也可以参考这些 SO 的回答: What should be the color of the Ripple, colorPrimary or colorAccent? How to change the ripple color of the DrawerToggle (back arrow) Changing color of Ripple Effect
这种圆形向外扩展的动效来自 Material design,叫做
ripple
(涟漪)。要改变它的颜色,一个简单的方法是更改 style:
另外你也可以参考这些 SO 的回答:
What should be the color of the Ripple, colorPrimary or colorAccent?
How to change the ripple color of the DrawerToggle (back arrow)
Changing color of Ripple Effect