I want to implement next previous functionality in my EBook application.This should be done on data.When I move(with onTouch) my finger right to left (or left to right) on screen then next chapter data appear like image gallery. in image gallery when we switch between images by onTouch ,if we move one image right to left then next image appears and previous image disappears as next appears.like panning.But I want to implement this functionality using text views. and i want to switch between text views like this pattern….
please guide and help me…
To switch views with animation you can use ViewFlipper with your custom animation. You can find many examples which describe way to using ViewFlipper, one of them – http://www.codeproject.com/KB/android/ViewFlipper_Animation.aspx