상태 버튼 드로어 블을 이미지 버튼의 배경으로 사용하려고합니다.Android : 작업 할 상태 목록 드로어 블을 가져올 수 없습니다.
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/play_button_pressed" android:state_pressed="true" />
<item android:drawable="@drawable/play_button_pressed" android:state_focused="true" />
<item android:drawable="@drawable/play_button_normal" />
</selector>
이미지 버튼은 다음과 같이이다 :
내 상태 목록 선택기를 사용하고있어이 같은입니다
<ImageButton
android:id="@+id/play_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@drawable/play_button_bg"
/>
하지만, 버튼이 커다란 이미지와 배경을 가지고있을 때 나타납니다. 아무 것도 클릭하지 않으면 아무 것도 나타나지 않습니다. 여기서 무엇이 잘못 될 수 있습니까?