Android滑动导航菜单TabLayout+ViewPager+Fragment
1.主要的Activity——MemberDetailActivity 2.Activity视图的xml文件——R.layout.activity_member_detail 3.自定义的Fragment子类——CustomTrainingFragment 4.Fragment视图的xml文件—— 5.自定义Fragment子类的适配器 //1.MemberDetailActivity package com.vimems.coach; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.view.ViewPager; import android.widget.TableLayout; import com.vimems.Adapter.CustomTrainingFragmentPageAdapter; import com.vimems.R; import java.util.ArrayList; import java.util.List; import