消除ImageButton背景图片

下图被选为作为ImageButton的Src,可它自带了个灰色的背景图,而我只想用这个圆圈作为imageButton的src,这怎么办呢?

遇到此情况可以设置imagebutton的background属性,添加背景透明的参数的就行了。android:background="#00FF0000" ,显示的时候就成这样了:

原文地址:https://www.cnblogs.com/izhanjun/p/4204397.html