title: MvvmCross + Xamarin.Android: how to setup MvxRecyclerView inside CardView inside ViewPager?
body: <p>My parent activity contains a ViewPager that hosts 3 fragments. </p>
  
  <p>MainView:</p>
  
  <pre><code>&lt;CoordinatorLayout&gt;
      &lt;AppBarLayout/&gt;
      &lt;ViewPager/&gt;
  &lt;/CoordinatorLayout&gt;
  </code></pre>
  
  <p>In one fragment, I have a RecyclerView that displays CardViews as items</p>
  
  <p>Child fragment:</p>
  
  <pre><code>&lt;CoordinatorLayout&gt;
      &lt;MvxSwipeRefreshLayout&gt;
          &lt;MvxRecyclerView
             local:MvxItemTemplate="@layout/child_item"&gt;
      &lt;/MvxSwipeRefreshLayout&gt;
  &lt;/CoordinatorLayout&gt;
  </code></pre>
  
  <p>Inside the child fragment I want each child (a CardView) to host its own RecyclerView that 1) displays its child horizontally and 2) scrollable. But the problem is, even though I have set the layoutManager and the orientation values in XML, it does not work. It displays things vertically and does not scroll.</p>
  
  <p>Child_item</p>
  
  <pre><code>&lt;CardView&gt;
    &lt;MvxRecyclerView
       local:layoutManager="android.support.v7.widget.LinearLayoutManager"
       android:orientation="horizontal"
       local:MvxItemTemplate="@layout/child_child"
       android:background="@color/Red"/&gt;
  
  &lt;/CardView&gt;
  </code></pre>
  
  <p>Child item inside the Cardview child_child.xml:</p>
  
  <pre><code>&lt;LinearLayout android:background="@color/Grey"&gt;
      &lt;Button&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Currently, the main ViewPager works fine; I can swipe to change fragments. The child fragment also supports vertical scrolling; I tried adding multiple cardviews so that it has to scroll, and I can do that just fine. Inside the cardview I added a Seekbar to see if child elements were receiving touch inputs, which also worked. Only the RecyclerView inside the card is not receiving any touch inputs, or responding to the orientation = horizontal request.</p>
  
  <p>How it is currently: The "XXXXX" buttons are stacked vertically. Note that there are more than 2 "XXXX" buttons. THe cardview clipped it but ot does not scroll.
  <a href="https://i.stack.imgur.com/dLfKi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dLfKi.png" alt="screenshot of current state"></a></p>
  
  <p>What is expected/what I'm trying to achieve: the buttons should be stacked horizontally and should be scrollable.</p>