I want to make a view with just the top corners rounded.
This is the XML I have now:
<corners
android:topLeftRadius="6dp"
android:topRightRadius="6dp"
android:bottomLeftRadius="0dp"
android:bottomRightRadius="0dp" />
But it doesn't work as expected (the bottom corners keep being rounded). How can I make an XML with just the top corners rounded?