202009-24 Android实现动态改变shape.xml中图形的颜色 在Android开发过程中我们常遇到将某个图形的颜色改变(例如用圆点的不同颜色来代表不同的状态)像这样的需求,一般我们使用android的shape就可以实现,比如<?xmlversion="1.0"encoding="utf-8"?><shapexmlns:android="http://schemas.android.com/apk/res/android"android:shape="oval"><sizeandroid:width="80dp"android:height="80dp"/><strokeandroid:width="10dp"android:color="#FF0000"/><solidandro... 继续阅读 >