title: How do I set the height of item in RecyclerView to fit all elements?
body: <p>UPDATE: NO, NO, NO - It's not a repeat of the question above. Thanks for the down votes but this question is about EVERY item being cut off. Sorry if this was not clear.  </p>
  
  <p>I have  RecyclerView.Adapter and Recycler View. </p>
  
  <pre><code>    return new MyViewHolder(v); 
  </code></pre>
  
  <p>The problem is the last element in the item layout gets cut off for EVERY item. Only half of the rating bar stars are visible so I wanted to increase the height of of the item. The Item layout is shown below"</p>
  
  <pre><code>      &lt;FrameLayout
            height=wrap_content
           ....
         &lt;RelativeLayout
            height=match-parent
            &lt;ImageView
                width=100dp
                height=100dp
                centerVertical=true &gt;
            &lt;TextView
                 id=tv1
                 toTheEndOf="imageId"
                 toTheRightOf="imageId"
                &gt;
            &lt;TextView
                 id=tv2
                 below="tv1"
                 toStartOf="tv1"
                 &gt;
            &lt;TextView
                 id=tv3
                 below=tv2"
            &lt;TextView id=tv4
                below=tv3
            &lt;RatingBar        // After adding tv3 only half of rating bar is shown?
                 below=tv4
                 height=wrap-content/&gt;
        &lt;RelativeLayout&gt;
    &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>UPDATE: Switching the RelativeLayout to wrap_content results in everything shown but now tv2 appears sometimes over tv2 and sometimes above it but too close.</p>