判断当前ImageView设置的是哪张图片 2020-02-26 ImageView View 方法一:设置一个TAG guide_line=findViewById(R.id.guide_line); guide_line.setTag("Offline"); 方法二: guide_line.getDrawable(this,R.drawable.online).getConstantState(); Please enable JavaScript to view the comments powered by Disqus.