我在 onClick()方法中提到了以下内容:
Ibutton1.setColorFilter(Color.argb(150, 155, 155, 155));
//这会在单击按钮时为按钮指定灰色。其中Ibutton1是Imagebutton的实例
现在我想要在单击按钮并且活动已经开始后应该删除色调... Plz帮助
答案 0 :(得分:0)
尝试在所需事件上使用lbutton1.clearColorFilter()
功能。
答案 1 :(得分:0)
您可以随时使用选择器。请在以下链接中查看:
http://developer.android.com/resources/tutorials/views/hello-formstuff.html
谢谢!