title: is there any-way to use SpannableString in TabLayout?
body: <p>I want to set the title of the TabLayout with two different text sizes. Like the given image below. Or the other way around to achieve this!</p>
  
  <p><a href="https://i.stack.imgur.com/UaaEj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UaaEj.png" alt="enter image description here"></a> </p>
  
  <p>I have tried with SpannableString like give below. This snippet is in the for loop till 5!</p>
  
  <pre><code>SpannableString mSpannableString=  new SpannableString(s);
  mSpannableString.setSpan(new RelativeSizeSpan(2f), 0,5, 0); // set size
  mSpannableString.setSpan(new ForegroundColorSpan(Color.RED), 0, 5, 0);// set color
  mTabLayout.getTabAt(i).setText(mSpannableString);
  </code></pre>
  
  <p>But as mentioned by CommonaSware <strong>setText()</strong> is not taking the rich content!</p>