ImageButton 혹은 Button에 셀렉터를 사용하는데
이상하게 어떤 부분은 딜레이가 있고, 어느부분은 딜레이가 없고 그러네요 ..
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/btn_info_on"/>
<item android:state_selected="true" android:drawable="@drawable/btn_info_on"/>
<item android:drawable="@drawable/btn_info_off"/>
</selector>
위는 딜레이가 있는 셀렉터구요.
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/btn_login_on"/>
<item android:state_selected="true" android:drawable="@drawable/btn_login_on"/>
<item android:drawable="@drawable/btn_login_off"/>
</selector>
얘는 딜레이가 없습니다.
코드는 똑같아서, 이미지 문제일까도 봤지만
ImageButton말고 그냥 Button에도 딜레이가 걸리는걸 봐서는. .이미지 문제인거 같지도 않구요.
혹시 관련 정보가 있을까요?