Android TabLayout 使用详解
TabLayout是Android 5.0以后推出的实现导航更简洁的方式开发中常常有如下的导航功能:
现在我们用TabLayout、ViewPager、Fragment来实现它
具体步骤:1. 在build.gradle中添加依赖compile 'com.android.support:design:23.2.1'
2. 在xml中引入TabLayout、ViewPager控件123456789101112131415161718192021<?xml version="1.0" encoding="utf-8"?><
...