I have recently updated android sdk to api 22 and android studio 1.1.0. After that I am getting rendering issues on RecyclerView. Here is what I am getting
You dont need to remove any line, but to add the following line to your code:
recyclerView.setLayoutManager(new LinearLayoutManager(recyclerView.getContext()));
This way, there is no problem for the Vertical scrolling on the RecyclerView.
Hope it helps!