当前位置: 代码迷 >> 综合 >> 修改shape中的颜色值
  详细解决方案

修改shape中的颜色值

热度:68   发布时间:2023-10-17 23:19:04.0
  1. GradientDrawable myGrad = (GradientDrawable)view.getBackground();  
  2. myGrad.setColor(color);