What is described looks very similar to me to what the Gallery class is doing. You may to check if the class is working for you.
Sergey Kavi wrote: > I tried creating something similar like a home screen a while back and > ended up using the View Flipper. > As you pointed out, you cannot view the next view while dragging the > screen. and thts why, i started writing > my own layout. I wasn't able to finish it but it can be done by > writing your own layout. > For example, If the width of the screen is 320, u can have three or > however many linear layouts of 320px each in a horizontal linear > layout. > Then, all you need to do is implement the onToucListener and the > OnGestureListener . overwrite the ondown, onfling, onup , ontouch > methods to handle when the user starts to scroll left/right. do some > math to find out which view is the user on, and then perform the > necessary view transitions. > > On Jan 8, 9:03 am, Al <alcapw...@googlemail.com> wrote: > >> Does anyone know how they implemented the part where you can drag the >> current screen left/right and also view part of the next screen at the >> same time? Was it the same way as the Home screen or is there another >> method for it? >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---