Android Question Page through horizontalscrollview

nibbo

Active Member
Licensed User
Longtime User
Hi, is there a way to control how far a HorizontalScrollView scrolls when it is 'swiped'.
I want to add a collection of panels to the hsv and effectively page through them one whole panel at a time. A bit like the normal way android scrolls through apps, in that when you scroll right you see the next load of apps but it always does the equivalent of one page per swipe.
I do hope this makes sense but let me know if not and I will try to clarify...
Thanks
 

nibbo

Active Member
Licensed User
Longtime User
It makes sense. However if you want to scroll the full activity then it is better to use a solution such as this one: ActionBar / Sliding Pages tutorial
Hi Erel, that works just fine.
Is it possible to hide the navigation tabs completly?
I can change it to NAVIGATION_MODE_LIST and not set the list items but then I can still see the dropdown in the title bar.
No biggy but I am a bit OCD with displays....
Thanks
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…