I want to implement a view drag event in my application.
In the screen above, I want to pin the search bar to the bottom and change the pink layout visibility when I drag the grey slider.
This is the workaround I did so far. How would I show / hide full view when user releases the touch event in the middle. Like I want to show full view when the use slides up more than 50% of the view and hide the view when user doesn't slide up to 50%
from Drag and slide Android view. Show / Hide full view when user releases touch event in the middle

No comments:
Post a Comment