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
setNavigationMode it's deprecated because on Lollipop it has being replaced by a new paradigm.
You have two options, at least:
Ignore it unless you are targeting 21+ API and developing only for Lollipop.
Use AppCompat; samples here: https://github.com/google/iosched
Personally, I went for option 1.
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