title: Android: Why text inside TextView scrolls in LinearLayout but not in Recyclerview
body: <p>There is <code>TextView</code> inside <code>RecyclerView</code>(Screen A) and inside a <code>FrameLayout</code>(Screen B), but both have <code>maxLines=10</code>.</p>
  
  <p>In RecyclerView, the textview renders only 10 lines and additional text is ignored.</p>
  
  <p>But the textview in LinearLayout, shows 10 lines but allows the user to scroll.</p>
  
  <p>How to disable scroll and to just show maximum lines set using <code>maxLines</code>.</p>
  
  <p>I have already tried,</p>
  
  <ul>
  <li><p><code>android:isScrollContainer="false"</code> - it doesn't work</p></li>
  <li><p><code>android:enabled="false"</code> - it disables the hyperlink clicks in the textview</p></li>
  </ul>
  
  <p><strong>Update:</strong></p>
  
  <p>I don't want textview in RecyclerView to scroll, I want to disable scrolling in LinearLayout only.</p>