Is there a way to open another activity/fragment (with camera in my case) by swiping left to right. But it should open not after you've finished your swipe gesture, but it should gradually appear while you are swiping . You pull another activity/fragment out from the left side. Like you can open camera on Instagram:
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
So in case you want to achieve a similar navigation as in Instagram you should note that the navigation/UX is based on a ViewPager
(consisting of fragments
/pages) and the camera fragment will be implemented with its own SurfaceView
(camera). Controlling The Camera and ViewPager documentation from google should be able to make you go forward with it.