I'm using TabHost for showing tabs.
I overlay the views for each tab with a GestureOverlayView,
orientation="vertical", eventsInterceptionEnabled="true" (list-views
may be inside the tabhosts).

Then implement GestureOverlayView's event-listeners (e.g.
onGesturePerformedListener) to listen for a finished gesture. If the
gesture is mostly horizontal and of a certain horizontal distance, I
change the TabHost's tab to the next or previous tab. In the
onTabChangeListener, I use animations to mimic sliding the contents of
the tabs in and out of view.


On Nov 11, 12:01 am, mayur <[email protected]> wrote:
> Hello everyone,
> I am new to android development and really need your help please reply
> if you know the answer..its really important for me.
> MY QUESTION IS:
> I need to develop a sliding tab  at the centre of menu for android
> application which should work in such a way that if i slide it on left
> side it should go to some page and if i slide it on the right side it
> should go to another page (just like the gesture of iphone menu screen
> if we slide towards left side screen goes to left page if we slide to
> the right side screen go to right page i want to implement same thing
> wid a sliding tab)
> IF ANYONE KNOWS THE ANSWER PLEASE REPLY ITS VERY IMPORTANT TO ME
>                          THANKYOU

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to