سؤال

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