scroll recyclerview item to top inside of scroll view
问题 I'm trying to scroll recycler view item to top of screen when user clicks on an item. My layout is set as following - <FrameLayout> -- <ScrollView> --- <LinearLayout /> // static content --- <RecyclerView /> // dynamic content --- <LinearLayout /> // static content -- </ScrollView> -- </FrameLayout> What I want to achieve is when i click on an item of recyclerview. It should scroll up to top of the screen. I have tried following so far but no luck. -> // use recycler view's layout manager to