My RecyclerView and item has match_parent width but the result is :
I solved this with:
myInflatedRowLayout.getLayoutParams().width = vg.getWidth();
It is replacing the MATCH_PARENT with the actual width of the RecyclerView.
MATCH_PARENT
RecyclerView