I have ListView
, and i have a background for the list items:
Is there any way to recreate this background as a shape
in drawable
XML? The most outer grey is not part of the item background, it is actually the ListView
.
I have ListView
, and i have a background for the list items:
Is there any way to recreate this background as a shape
in drawable
XML? The most outer grey is not part of the item background, it is actually the ListView
.
You can try following with the values of your choice. It will make the bottom two corners rounded.
rounded_rectangle.xml
then use it as a background to your listitem as follows