android - How to create swipeable view only to half? -


i tried searching can't seem find swipeable view can swipe half.

here example image.

i tried creating 2 pages (in tab) contains image 1 , image 2, animation having 2 stars when in mid-swipe.

cheers.

edit: found working example. try mimicking one.

https://github.com/baoyongzhang/swipemenulistview

you can use 2 viewpager serve purpose , customise them in way 1 viewpager change other. in way, give feel being swiped half.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -