Overlap problem with Android ListView selector

Posted by virsir on Stack Overflow See other posts from Stack Overflow or by virsir
Published on 2010-04-28T00:21:25Z Indexed on 2010/04/28 0:23 UTC
Read the original article Hit count: 856

Filed under:
|
|
|

I am trying to style my ListView with two 9-patch background images (16px * 9px), one dark image for default state and another green image for selected and pressed state.

It works except for just one problem that when I select or press one list item, it seems that the selected item overlap the next one a little bit as I can see some pixels of the green background image is on the top of next item.

How to fix that?

© Stack Overflow or respective owner

Related posts about android

Related posts about listview