我想以编程方式删除ImageButton中的灰色背景.我试过很多方法来删除它 - 如 -
imageButton.setBackgroundDrawable(null);
但是在实现它们时,我没有在触摸时对ImageButton产生连锁反应.(触摸时不突出显示).
有没有办法删除背景但保留涟漪效果或突出显示.
java xml android imagebutton
android ×1
imagebutton ×1
java ×1
xml ×1