Adding Sliding Tabs using Support Library v7:21 with Toolbar in Android Developer Tools for existing project

后端 未结 4 1036
青春惊慌失措
青春惊慌失措 2020-12-30 08:55

I have already read the information in this link: Use Tab with new ToolBar (AppCompat v7-21) and did a lot of research on the same.

But the problem is the SlidingTab

4条回答
  •  旧时难觅i
    2020-12-30 09:11

    Just found this library that seemes to be pretty much what is mentioned here already, but with less manual lifting. Have a look at https://github.com/neokree/MaterialTabs.

    To shamelessly plug my self, this is a sample of it in action https://play.google.com/store/apps/details?id=com.snilius.fhstats.

    The only thing missing from it at the point of writing this is having the tab indicator sliding between tabs when paging the viewpager, like is does on Google Play.

提交回复
热议问题