开发者

Android launcher home screen

In the android home screen, we have the ability to sli开发者_C百科de 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 are they called in the Android world?

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


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.


Unfortunately, there isn't a standard control for that sliding effect.

This is another question about the effect which also contains a few pointers about implementing it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜