Android ImageView selector cannot displayed normal -
I need to show the drawable selector
on listView
, and I use the DrawableSelector
to apply this effect to but in some devices, it will work as expected, while others do not, its not, Looked like a picture that I had captured with the exception devices:
From the following code to apply:
& lt; Selector & gt; & Lt; Item android: state_pressed = "true" Android: drawable = "@ drawable / img_hovered" & gt; & Lt; / Item & gt; & Lt; Item android: drawable = "img_normal" & gt; & Lt; / Item & gt; & Lt; / Selector & gt;
Please tell me where I am going, thanks in advance.
Comments
Post a Comment