title: spannablestring is not working for programmatically created button
body: <p>I know SpannableString is possible to set different text size in one textview but if textview is added programmatically it's not working.</p>
  
  <pre><code>String s = "Best Ever";
  SpannableString ss1 =  new SpannableString(s);
  ss1.setSpan(new RelativeSizeSpan(2f), 0, 4, 0); // set size
  ss1.setSpan(new ForegroundColorSpan(Color.RED), 0, 4, 0); // set color
  TextView tv = (TextView) findViewById(R.id.textview);
  tv.setText(ss1); 
  </code></pre>