相关疑难解决方法(0)

ImageButton中的透明背景具有涟漪效应?

我想以编程方式删除ImageButton中的灰色背景.我试过很多方法来删除它 - 如 -

imageButton.setBackgroundDrawable(null);
Run Code Online (Sandbox Code Playgroud)

但是在实现它们时,我没有在触摸时对ImageButton产生连锁反应.(触摸时不突出显示).

有没有办法删除背景但保留涟漪效果或突出显示.

java xml android imagebutton

20
推荐指数
2
解决办法
9793
查看次数

标签 统计

android ×1

imagebutton ×1

java ×1

xml ×1