Remove Rounded Corners CardView
I have used the map appearance inside the RecyclerView
Layout ListItem. I used card_view:cardCornerRadius
as 0dp in the content map layout, but still my map shows rounded corners.
I need to completely remove the rounded corner. But more solutions could be found to fix it.
Any help would be really appreciated.
+3
source to share
3 answers
Apply app:cardCornerRadius="0dp"
to yours CardView
.
<android.support.v7.widget.CardView
android:layout_width="100dp"
android:layout_height="100dp"
app:cardCornerRadius="0dp"/>
<android.support.v7.widget.CardView
android:layout_width="100dp"
android:layout_height="100dp"
app:cardCornerRadius="6dp"/>
This layout leads to this conclusion:
+3
source to share