How to use Android ViewSwitcher?

前端 未结 4 910
自闭症患者
自闭症患者 2020-12-16 02:51

I\'m trying to use the ViewSwitcher to perform switches between two views. One is an ImageView and the other is a MapView. I have a button which the user clicks to perform t

4条回答
  •  粉色の甜心
    2020-12-16 03:34

    You need to have a LinearLayout wrapping everything else. On the example I see more than one but no main one.

提交回复
热议问题