开发中需要改变Button背景颜色,我在graph 文件夹中设置了两个样式,background_button1.xml和background_button2.xml,
默认在Ability.xml采用background_button1.xml,需要点击按钮后变成background_button2.xml,在java程序中
button.setBackground()请问这个函数参数该如何写,谢谢!
开发中需要改变Button背景颜色,我在graph 文件夹中设置了两个样式,background_button1.xml和background_button2.xml,
默认在Ability.xml采用background_button1.xml,需要点击按钮后变成background_button2.xml,在java程序中
button.setBackground()请问这个函数参数该如何写,谢谢!
我要提问题