Getting DrawerLayout to Slide over the ActionBar

前端 未结 10 1681
星月不相逢
星月不相逢 2020-12-02 09:46

I have a sliding drawer menu in an activity, which has an actionbar with some tabs on it.

I\'d like to get the sliding drawer to slide over the tabs , not below th

10条回答
  •  星月不相逢
    2020-12-02 09:59

    Any ideas on how this could be done?

    Do any of the following:

    • Switch away from action bar tabs, perhaps to ViewPager and a tabbed indicator (PagerTabStrip, TabPageIndicator from ViewPageIndicator)

    • See if an existing third-party drawer implementation has not yet updated to the new UI standards

    • Fork DrawerLayout and modify it to suit

    • Roll your own navigation drawer from scratch

    I understand that I might be breaking some conventions and UI patterns here

    Correct.

提交回复
热议问题