AppCompat looking ugly

I’m having a strange “glitch” in some parts of my apps when using Appcompatthemes (Theme.AppCompat.Light.NoActionBar) and Appcompatactivities.My project’s using appcompat-v7:27.0.2 and design:27.0.2 . …