Error in displaying the cardview

I want to know what’s wrong here.


But when I’m removing this, the screen is like this.
What’s wrong with this piece?