Swipe among activities in android

耗尽温柔 提交于 2019-12-03 08:39:35

you can achieve it by animaton.. But it will show as a Gallery view and you can swipe as well... OnTouchEvent on every activity you can call another activity using intents by overridePendingTransition(R.anim.act_back_slide_enter, R.anim.act_back_slide_leave);

//overridePendingTransition("animation for activity which enters", "animation for activity which leaves");

I have not yet tried this... but we can make it in this form.. If you get success let me know.

100rabh

@sajjoo Here goes your answer in deezapps widget with the questions below pointing at it

and many more linked questions..

Codemonkey

I recently posted a question that covers a lot of this (my question is about using Swipe together with ScrollView, the Swipe gesture by itself works just fine):

Swipe/Fling tab-changing in conjunction with ScrollView?

If you read the sources I have listed and use the code I've provided then you should be able to do it.

It's work fine... just must to delete the redundant R.java file...!

http://www.codeshogun.com/blog/2009/04/16/how-to-implement-swipe-action-in-android/

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