search

Home  >  Q&A  >  body text

Android: 实现类似微信,qq等app的多页面的切换

使用ViewPager + Fragment?
TabHost + TabActivity?(应该是不被建议使用了)

大家觉得微信是用什么实现的?不过可能他们用的就是自己重写的东西了吧。

阿神阿神2772 days ago582

reply all(6)I'll reply

  • PHPz

    PHPz2017-04-17 14:36:14

    Probably the first one

    reply
    0
  • 黄舟

    黄舟2017-04-17 14:36:14

    I agree with the first one. .

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 14:36:14

    If you use DDMS to look at the view structure, you will understand that it is the first type.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 14:36:14

    The first type, decompile WeChat

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 14:36:14

    The first one, but there is also an invisible fragment management dialog window

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 14:36:14

    The first one is officially recommended.

    reply
    0
  • Cancelreply