Android:如何以编程方式切换按钮的按下状态?

Vio*_*ffe 10 android button android-drawable

我有一个按钮,有2个不同的图片,用于按下和释放状态.如何以编程方式切换状态?