Facebook style slider

喜夏-厌秋 提交于 2020-01-04 02:41:04

问题


the new facebook app has an image slider inside posts which have multiple images. It looks something like this:

One thing to notice is the adjacent images are slightly displayed with the current image in focus.

I know I can implement a slider using viewpager. But, in a viewpager, the current fragment occupies the entire view. Only the titles of the adjacent views are visible, not the content itself.

Can anybody give me a direction to look at for implementing this. Or is there anu opensource library for this?

Thanks

来源:https://stackoverflow.com/questions/16111822/facebook-style-slider

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!