title: How can I make appear RecyclerView with an animation?
body: <p>In my app if I press a button (the green one on the screenshot) I set my RecyclerView from height 0 to 600 and even if I re-press the same button it disappear by setting it height to 0.</p>
  
  <p>But actually it's ugly to see because it's appear instantly so I would like to add an animation to it like it's growing up slowly or bouncing, I don't know, something that would make it nicer. Is there a way to make something like this?</p>
  
  <p><a href="https://i.stack.imgur.com/xI1L6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xI1L6.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/V8aly.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V8aly.png" alt="enter image description here"></a></p>
  
  <p>Here is my code where I make appear or disappear the RecyclerView:</p>
  
  <pre><code>    menu.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              ViewGroup.LayoutParams params = mRecyclerViewBOT.getLayoutParams();
              if(params.height == 0) {
                  params.height = 600;
                  mRecyclerViewBOT.setLayoutParams(params);
              }else {
                  params.height = 0;
                  mRecyclerViewBOT.setLayoutParams(params);
              }
  
          }
      });
  </code></pre>