Question

How is this mechanism realized, I mean, having some layouts and changing them when user scrolls the screen? I need it to look like the Samsung Galaxy S main menu, or Angry Birds Seasons level menu. Thanks in advance.

Was it helpful?

Solution

Do you mean being able to swipe between different pages of content? If so you can do this using a ViewFlipper and a GestureDetector.

Or if you just mean making a single page of content scrollable you can use a ScrollView.

OTHER TIPS

what you need is the android build in widget named Gallery. Populate the gallery with 3 views and each view with a gridview and there you have it

I would say its just a glorified ScrollView containing ImageButtons
embed the ScrollView in your layout, use the necessary attributes to make the background transparent and hide the scrollbar. bada-bing bada-boom

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top