ImageView src with drawable selector ignores enabled state

FtaRelease

New Member
When using a state selector as the src for an \[code\]ImageView\[/code\], \[code\]enabled="false"\[/code\] is being ignored.i.e. this doesn't work properly:\[code\]<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:enabled="false" android:src="http://stackoverflow.com/questions/10429663/@drawable/state_drawable" >\[/code\]P.S. :I have an ugly workaround, I'll post it as an answer shortly, if you have something better or an explanation for this behavior, please let me know.
 
Back
Top