android: how to create different “screens” and nav between them using touch-and-drag?

前端 未结 2 867
醉话见心
醉话见心 2020-12-30 17:47

Can i create the same kind of navigation that I have on the main screens? That is, I want different screens that I can navigate between using the touch-and-drag? I haven\'t

2条回答
  •  一向
    一向 (楼主)
    2020-12-30 18:10

    There are no widgets built into Android to do this. You can look at the source code of the existing home screen to see how it does it, or use ViewFlipper and the new gesture system to attempt to emulate it.

提交回复
热议问题