title: Tablayout update page title of custom view tabs
body: <p>I made a tablayout tabs, which has custom layout for tabs, Sometimes I wish to change the title of those tabs. but I don't get right way of doing it, kindly help me.</p>
  
  <p>my <strong>custom_tab.xml</strong></p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="horizontal"&gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:id="@+id/titttle"
          android:textStyle="bold"
          android:text="MYTITLE"
          android:paddingLeft="10dp"/&gt;
  
  &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:id="@+id/count"
          android:textStyle="bold"
          android:text="1"
          android:paddingLeft="10dp"/&gt;
  
  &lt;/RelativeLayout&gt; 
  </code></pre>
  
  <p>and in <strong>MainActivity.java</strong></p>
  
  <pre><code>tabLayout = (TabLayout) findViewById(R.id.tabs);
          tabLayout.setupWithViewPager(viewPager);
   tabLayout.getTabAt(0).setCustomView(R.layout.tab_custom_view);
   tabLayout.getTabAt(1).setCustomView(R.layout.tab_custom_view);
  TextView textView = (TextView)tabLayout.getChildAt(1).getRootView().findViewById(R.id.titttle);
  textView.setText("New Title");
  </code></pre>
  
  <p>here </p>
  
  <pre><code>TextView textView = (TextView)tabLayout.getChildAt(1).getRootView().findViewById(R.id.titttle);
      textView.setText("New Title");
  </code></pre>
  
  <p>is not working, help me out to update the custom tab's textview.</p>