Set cardview background legitly