Android - RecyclerView - LinearLayoutManager.HORIZONTAL
Some user interfaces could be more interesting when elements are displayed horizontally than vertically, which is the standard behavior for most View objects (GUI components). However, using RecyclerView is very simple to adjust this behavior for showing elements horizontally, what could be set with a simple parameter informed in its constructor method. You can see one example at the code below: RecyclerViewAdapterForProducts ca = new RecyclerViewAdapterForProducts( p .getProducts()); RecyclerView cv = this .findViewById( R . id . recycler_view ); cv .setLayoutManager( new LinearLayoutManager( this , LinearLayoutManager . HORIZONTAL , //LinearLayoutManager.VERTICAL true ) //left to right OR right to left ); cv .setAdapter( ca ); Basically the second parameter may inform if the element has to be displayed horizontally (LinearLayoutManager.HORIZONTAL) or vertically (LinearLayoutManager.VERTICAL). You can see a video class presenting the usage...