When I add the RecyclerView to the layout, it shows up as a list view in vertical order. I am using tools:listitem for this. Is there a way, such that it displays a
tools:listitem
If you want to see the effect only in the preview without change the app behavior you can use the "tools" namespace as you did with listitem: