Enlarge image

I have a view with a structure like

<ScrollView> <RelativeLayout> <ImageView> <LinearLayout> <!-- Here I show some details in textview--> </LinearLayout> </RelativeLayout> </ScrollView> 

Now I want, when I scroll down or drag the linear layout, I want to increase the size of the ImageView by scrolling down, and when I release the drag / scroll, it will become like the initial size. This is done in the Go to Android app. I need an idea to achieve this, please help if anyone has done this.

+2
source share

All Articles