How to show dropdown Animation for a list(RecyclerView) under Edittext? : <p>I am trying to show drop-down list using recycler view under edit text.</p>

<p>Recycler view supposed to slide down from behind Edit-text but it gets visible before sliding down.<a href="https://i.stack.imgur.com/HTgQm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HTgQm.png" alt="As you can see recycler view is sliding down from behind the edit text but it is also visible before the edit text"></a><a href="https://i.stack.imgur.com/OSFht.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OSFht.png" alt="Recycler view is completely visible in the second picture as a drop-down list "></a></p>
