Change position of a specific view in SlidingUpPanel Layout.
Actually I can't get to achieve one thing.
As you can see in the images in my Android App, I've a SlidingUpPanel Layout with ImageView and Button. My main layout has a list view containing some items in it. Now what I want is that when the SlidingUpPanel Layout is collapsed,I want the ImageView to appear right after the button(on the right side) and when I expand the SlidingUpPanel, I want the ImageView to go back to its position.
How to achieve this. Any help will be highly appreciated. Thank You