I have a screen where I need to put a background image. I need to display only a part of the background image in each screen . Now when the user swipes towards left , the next screen will be displayed taking another portion of the background image. This transition from the first to second screen should giv开发者_开发技巧e a 3 Dimension effect of moving the screen. I am unable to get any help form Android forums. Kindly help with the code .
Are you trying to achieve Parallax Scrolling?
If so, this looks like a good description of it being implemented in Android;
http://csjam.blogspot.com/2009/02/parallax-scrolling-in-android.html
精彩评论