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.
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:

Remove attribute card_view: cardCornerRadius from xml and try again. There is no need to assign it to 0dp.
No need to write card_view: cardCornerRadius, just remove it. If you don't get any solution, just put my code in Style and refer to it in Cardview.
<style name="CardViewStyle" parent="CardView">
<item name="cardCornerRadius">0dp</item>
<item name="cardElevation">0dp</item>