カスタムボタン(simple.xml)にこのセレクターコードを使用しました
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/focused" />
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/focusedpressed" />
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/pressed" />
<item android:drawable="@drawable/defaultbutton" />
</selector>
しかし、私のImageButtonでは、境界線を削除する方法がわかりません。ボタンの周りの境界線を表示しないように、画像のみを表示したい。
ありがとう