if (ibtn.getDrawable().getConstantState().equals(getResources().getDrawable(R.mipmap.image).getConstantState())){do;}判断两个Drawable的constantState是否相同。