编程针对Android图像视图中移除背景图片 [英] programatically remove background picture from image view in android
本文介绍了编程针对Android图像视图中移除背景图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的Android应用程序设置图像化视图的背景图像。现在我想以编程方式删除此背景图片。如何做到这一点?请帮助..
解决方案
imgView.setImageResource(android.R.color.transparent);
I have set a background image in inmage view in my android application. Now i want to remove this background picture programatically. How to do this? please help..
解决方案
imgView.setImageResource(android.R.color.transparent);
这篇关于编程针对Android图像视图中移除背景图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文