title: Create a RecyclerView with both horizontal and vertical scrolling
body: <p>Over the past few weeks I've been learning to use the <code>RecyclerView</code>. I need to implement a horizontal list, ie, that by turning the device in landscape mode like so:</p>
  
  <p><a href="https://i.stack.imgur.com/YxqNq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YxqNq.png" alt="enter image description here"></a></p>
  
  <p>I found the best solution for this (how to create the horizontal displacement of <code>RecyclerView</code>, <a href="http://www.androidhive.info/2016/01/android-working-with-recycler-view/" rel="noreferrer">here</a>), but encountered another problem. The item <code>RecyclerView</code> was larger than the height of the device (in landscape, horizontal), so I need to create a vertical and horizontal displacement, simultaneously.</p>
  
  <p>I looked at the Android Developer methods for the <code>LayoutManager</code> class, but my skills are not high enough to understand most of the methods. I also tried putting a <code>RecyclerView</code> vertically inside another <code>RecyclerView</code> horizontally with all the content, but I get error:</p>
  
  <blockquote>
    <p>IllegalStateException: RecyclerView has no LayoutManager</p>
  </blockquote>
  
  <p>To rememedy this I removed all <code>&lt;View ... /&gt;</code> elements from the XML file, but this does not give any results.</p>
  
  <p>To clarify what I am asking: is it possible to have my layout scroll both horizontally and vertically, and if you could explain how I would appreciate it.</p>