title: How do I get the view of a Tab in a TabLayout?
body: <p>I'd like to find the view of a Tab in a TabLayout so that I can pass it to another function. I'm not sure how to go about finding the view. 
  <code>myTabLayout.getTabAt(0).getCustomView()</code> returns null. </p>
  
  <p>How do I get the view? </p>
  
  <pre><code>TabLayout tabLayout = (TabLayout) rootView.findViewById(R.id.tab_layout_main);
  tabLayout.addTab(tabLayout.newTab().setText("Page1"));
  tabLayout.addTab(tabLayout.newTab().setText("Page2"));
  
  viewPager = (ViewPager) rootView.findViewById(R.id.pager_main);
  pagerAdapter = new MyPagerAdapter(getActivity(), getChildFragmentManager(), tabLayout.getTabCount());
  viewPager.setAdapter(pagerAdapter);
  </code></pre>