actionbar setnavigationmode deprecated

后端 未结 2 1846
刺人心
刺人心 2021-01-20 03:28

Hi I\'m making an app in which I plan on showing floor & category wise listing of stores inside a mall.

Below snap show an activity showing floor wise listing of

相关标签:
2条回答
  • 2021-01-20 03:51

    setNavigationMode it's deprecated because on Lollipop it has being replaced by a new paradigm.

    You have two options, at least:

    1. Ignore it unless you are targeting 21+ API and developing only for Lollipop.

    2. Use AppCompat; samples here: https://github.com/google/iosched

    Personally, I went for option 1.

    0 讨论(0)
  • 2021-01-20 03:57

    The Google I/O 2014 Android App contain what you need

    SlidingTabLayout.java ,check out here

    and the SlidingTabStrip.java

    there are two files could implement what you show up there.

    more document about this style at here

    0 讨论(0)
提交回复
热议问题