문제

I have a listview that I want to implement the effect seen in this image:

listview with masked item and sumitem

The listview hides some items like in the image below except a password is entered. I know that item and subitem image are usually left aligned.

How do I set the item and subitem image to cover the whole text are of the list view as shown?

EDIT

I got a tip of how to draw the pattern in this pics from here, but how do I draw this on a listitem?

도움이 되었습니까?

해결책

You'll be better off using subclassing and owner/custom drawing. That will allow you to draw that entire row and let the listview deal with the rest.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top