判断某个ImageView的背景图是否是已知的背景图相等时间:2023-03-09 16:26:24 if (ibtn.getDrawable().getConstantState().equals(getResources().getDrawable(R.mipmap.image).getConstantState())){do;}判断两个Drawable的constantState是否相同。