Why doesn\'t the margin work for elements inside the recyclerview? I searched for a solution to the problem, nothing worked in my case. The changes are displayed in android