views:

140

answers:

2

Hi,

I don't have the accurate terminology and maybe that's a part of my question.

In the android home screen, we have the ability to slide the screen left and right and display multiple pages. Each of these pages has a different set of icons. in the mac world these would be called "spaces". What is it called in the android world.

More importantly is there a standard control that can be used to achieve this effect ?

A: 

Unfortunately there no standard control for that sliding effect. http://stackoverflow.com/questions/3188242/android-gesture-to-thats-used-on-the-start-screen is another question about the effect that contains a few pointers about implementing it.

Christian
+2  A: 

There is no such control to achieve this. Once I was digging through the Launcher's source code and this effect is done by creating few LinearLayouts and placing them side by side in the code. Sliding through the "spaces" is done by handlig touch events. Also the grid that handles widgets is created using aviable API.

Maciej Pigulski