<com.example.platform.ProgressImageView
android:id="@+id/k1"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_marginLeft="100dp"
android:background="@mipmap/xu1" /
这是定义的ImageView,在MainActivity中使用
image.setBackgroundResource(R.minmap.background);
但是效果是下面这样,是叠在一起的,不是替换,
请问有什么方法能把原来的图片去掉,替换成新图片呢?