
How can i give padding to list item as i show in image. I want to make the div
Use 'inset'.....
(list_divider.xml)
and in your list view add like this...
you can set the inset value as desired...
UPDATE
As pointed out by @Giulio Piancastelli , If the background of list container is different from background of list item then you may use 'layer-list'...
(list_divider.xml)
-
-
and in your list view add like this...