Making a ViewFlipper like the Home Screen using MotionEvent.ACTION_MOVE

前端 未结 2 940
粉色の甜心
粉色の甜心 2021-01-31 22:57

Ok I have a ViewFlipper with three LinearLayouts nested inside it. It defaults to showing the first one. This code:

// Assumptions in m         


        
2条回答
  •  醉酒成梦
    2021-01-31 23:32

    If I understand your request, this effect should now be implemented using a View Pager

    Looks like this:

    enter image description here

提交回复
热议问题